commit: a592563a57351db7e65b6882384997b9e0be63b3
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 00:41:22 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 00:41:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a592563a
media-sound/wavegain: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/wavegain/wavegain-1.3.1.ebuild | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/media-sound/wavegain/wavegain-1.3.1.ebuild
b/media-sound/wavegain/wavegain-1.3.1.ebuild
index 82d8dd18cfc..8e51ee45a37 100644
--- a/media-sound/wavegain/wavegain-1.3.1.ebuild
+++ b/media-sound/wavegain/wavegain-1.3.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
inherit toolchain-funcs
@@ -14,17 +14,15 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND=""
-DEPEND="${RDEPEND}
- app-arch/unzip"
+BDEPEND="app-arch/unzip"
S=${WORKDIR}/${P/wavegain/WaveGain}
-src_compile(){
+src_compile() {
$(tc-getCC) ${LDFLAGS} ${CFLAGS} *.c -o ${PN} \
-DHAVE_CONFIG_H -lm || die "build failed"
}
-src_install(){
+src_install() {
dobin ${PN}
}