Bug: https://bugs.gentoo.org/697274
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
-# 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
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
}