diff options
Diffstat (limited to 'media-sound/rexima')
-rw-r--r-- | media-sound/rexima/rexima-1.4-r1.ebuild (renamed from media-sound/rexima/rexima-1.4.ebuild) | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/media-sound/rexima/rexima-1.4.ebuild b/media-sound/rexima/rexima-1.4-r1.ebuild index cdfc20bdfade..cd78692ee670 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 } |