From 2e06070f11c99bca42cad8411e71e8dfbf4f7d6f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 10 Nov 2019 12:03:25 +0100 Subject: media-sound/justeport: Bump to EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- media-sound/justeport/justeport-0.2.ebuild | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'media-sound') diff --git a/media-sound/justeport/justeport-0.2.ebuild b/media-sound/justeport/justeport-0.2.ebuild index 2091e8017f7f..9ae648843057 100644 --- a/media-sound/justeport/justeport-0.2.ebuild +++ b/media-sound/justeport/justeport-0.2.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 mono multilib @@ -11,7 +11,7 @@ DESCRIPTION="Stream audio to your AirPort Express" HOMEPAGE="http://nanocrew.net/software/justeport/" SRC_URI="http://nanocrew.net/sw/justeport/${MY_P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" @@ -21,20 +21,10 @@ RDEPEND="${DEPEND}" S=${WORKDIR}/${MY_P} -src_unpack() { - unpack ${A} - cd "${S}" - cp "${FILESDIR}"/wrapper-script . - sed -i -e "s:LIBDIR:$(get_libdir):" wrapper-script || die "sed failed." -} - -src_compile() { - emake || die "emake failed." -} - src_install() { insinto /usr/$(get_libdir)/justeport - doins *.exe || die "doins failed." - newbin wrapper-script justeport || die "newbin failed." + doins *.exe + newbin - justeport \ + < <(sed -e "s:LIBDIR:$(get_libdir):" "${FILESDIR}"/wrapper-script) dodoc AUTHORS ChangeLog README THANKS } -- cgit v1.2.3-65-gdbad