commit: 0d897ff919225ff01693a1ae9283dc5e6c4f9647
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 17:22:33 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue May 28 17:22:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d897ff9
media-sound/mp3asm: Port to EAPI 7
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/mp3asm/mp3asm-0.1.3-r2.ebuild | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/media-sound/mp3asm/mp3asm-0.1.3-r2.ebuild
b/media-sound/mp3asm/mp3asm-0.1.3-r2.ebuild
index b1c4d173eeb..467241065e7 100644
--- a/media-sound/mp3asm/mp3asm-0.1.3-r2.ebuild
+++ b/media-sound/mp3asm/mp3asm-0.1.3-r2.ebuild
@@ -1,9 +1,9 @@
-# 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 eutils toolchain-funcs
+inherit toolchain-funcs
MY_PV="${PV}-1" # Patchlevel
@@ -14,19 +14,15 @@ SRC_URI="mirror://sourceforge/mp3asm/${PN}-${MY_PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
-IUSE=""
-
-DEPEND=""
# the author uses weird numbering...
-S="${WORKDIR}/mp3asm-0.1"
+S="${WORKDIR}/${PN}-0.1"
src_compile() {
- econf || die "econf failed"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
- dobin src/mp3asm || die "install failed"
+ dobin src/mp3asm
dodoc Changelog README
}