From 6a898fff45993a04ecd991c29c15c92b86400c4e Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 11 Mar 2017 21:45:11 +0100 Subject: media-sound/rexima: Modernise to EAPI 6 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- media-sound/rexima/rexima-1.4-r1.ebuild | 35 +++++++++++++++++++++++++++++++++ media-sound/rexima/rexima-1.4.ebuild | 29 --------------------------- 2 files changed, 35 insertions(+), 29 deletions(-) create mode 100644 media-sound/rexima/rexima-1.4-r1.ebuild delete mode 100644 media-sound/rexima/rexima-1.4.ebuild (limited to 'media-sound/rexima') diff --git a/media-sound/rexima/rexima-1.4-r1.ebuild b/media-sound/rexima/rexima-1.4-r1.ebuild new file mode 100644 index 000000000000..cd78692ee670 --- /dev/null +++ b/media-sound/rexima/rexima-1.4-r1.ebuild @@ -0,0 +1,35 @@ +# 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" +HOMEPAGE="http://www.svgalib.org/rus/rexima.html" +SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/apps/sound/mixers/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + tc-export CC + + cat > Makefile <<- _EOF_ || die + LDLIBS=$($(tc-getPKG_CONFIG) --libs ncurses) + all: rexima + _EOF_ +} + +src_install () { + dobin rexima + + einstalldocs + doman rexima.1 +} diff --git a/media-sound/rexima/rexima-1.4.ebuild b/media-sound/rexima/rexima-1.4.ebuild deleted file mode 100644 index cdfc20bdfade..000000000000 --- a/media-sound/rexima/rexima-1.4.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit toolchain-funcs - -DESCRIPTION="A curses-based interactive mixer which can also be used from the command-line" -HOMEPAGE="http://www.svgalib.org/rus/rexima.html" -SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/apps/sound/mixers/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86" -IUSE="" - -RDEPEND="sys-libs/ncurses" -DEPEND="${RDEPEND}" - -src_compile() { - tc-export CC - echo "LDLIBS=-lncurses" > Makefile - echo "all: rexima" >> Makefile - emake || die "emake failed" -} - -src_install () { - dobin rexima || die - doman rexima.1 || die - dodoc NEWS README ChangeLog -} -- cgit v1.2.3