Skip to content

Commit

Permalink
dev-embedded/zmac: Bump EAPI to 7.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Sep 8, 2019
1 parent 7a3869d commit fec4ea6
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=0
EAPI=7

inherit toolchain-funcs

Expand All @@ -12,19 +12,17 @@ SRC_URI="http://www.tim-mann.org/trs80/${PN}${PV//.}.zip"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND=""
BDEPEND="app-arch/unzip"

S="${WORKDIR}"

src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
}

src_install() {
dobin zmac || die
doman zmac.1 || die
dodoc ChangeLog MAXAM NEWS README || die
dobin zmac
doman zmac.1
dodoc ChangeLog MAXAM NEWS README
}

0 comments on commit fec4ea6

Please sign in to comment.