commit:     95882b3c2c1c85c803cb88d1db7072825e7585ad
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 11:39:33 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 11:39:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95882b3c

media-sound/bplay: Port to EAPI 7

Bug: https://bugs.gentoo.org/697274
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/bplay/bplay-0.991.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/media-sound/bplay/bplay-0.991.ebuild 
b/media-sound/bplay/bplay-0.991.ebuild
index 2352a1b522c..0fe9c8a2443 100644
--- a/media-sound/bplay/bplay-0.991.ebuild
+++ b/media-sound/bplay/bplay-0.991.ebuild
@@ -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
 
@@ -12,17 +12,18 @@ SRC_URI="http://www.amberdata.demon.co.uk/bplay/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 hppa ~ppc sparc x86"
-IUSE=""
 
 src_compile() {
-       emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" \
-               CFLAGS="${CFLAGS} -DUSEBUFFLOCK" bplay || die "emake failed"
+       emake \
+               LDFLAGS="${LDFLAGS}" \
+               CFLAGS="${CFLAGS} -DUSEBUFFLOCK" \
+               CC="$(tc-getCC)" bplay
 }
 
 src_install () {
-       newbin bplay bplay-bin || die "dobin failed"
-       dosym bplay-bin /usr/bin/brec || die "dosym failed"
+       newbin bplay bplay-bin
+       dosym bplay-bin /usr/bin/brec
        doman brec.1
        newman bplay.1 bplay-bin.1
-       dodoc README
+       einstalldocs
 }

Reply via email to