commit: 6a898fff45993a04ecd991c29c15c92b86400c4e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 20:45:11 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 20:47:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a898fff
media-sound/rexima: Modernise to EAPI 6
Package-Manager: Portage-2.3.4, Repoman-2.3.2
.../{rexima-1.4.ebuild => rexima-1.4-r1.ebuild} | 26 +++++++++++++---------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/media-sound/rexima/rexima-1.4.ebuild
b/media-sound/rexima/rexima-1.4-r1.ebuild
similarity index 59%
rename from media-sound/rexima/rexima-1.4.ebuild
rename to media-sound/rexima/rexima-1.4-r1.ebuild
index cdfc20bdfad..cd78692ee67 100644
--- a/media-sound/rexima/rexima-1.4.ebuild
+++ b/media-sound/rexima/rexima-1.4-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="A curses-based interactive mixer which can also be used from the
command-line"
@@ -12,18 +14,22 @@ SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
-RDEPEND="sys-libs/ncurses"
-DEPEND="${RDEPEND}"
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
-src_compile() {
+src_configure() {
tc-export CC
- echo "LDLIBS=-lncurses" > Makefile
- echo "all: rexima" >> Makefile
- emake || die "emake failed"
+
+ cat > Makefile <<- _EOF_ || die
+ LDLIBS=$($(tc-getPKG_CONFIG) --libs ncurses)
+ all: rexima
+ _EOF_
}
src_install () {
- dobin rexima || die
- doman rexima.1 || die
- dodoc NEWS README ChangeLog
+ dobin rexima
+
+ einstalldocs
+ doman rexima.1
}