summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-10 12:03:25 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-10 12:24:40 +0100
commit2e06070f11c99bca42cad8411e71e8dfbf4f7d6f (patch)
tree2b875b077b44a725d85309f7411a24015498d63f /media-sound
parentpackage.mask: Last rite sys-cluster/osc-mpiexec (diff)
downloadgentoo-2e06070f11c99bca42cad8411e71e8dfbf4f7d6f.tar.gz
gentoo-2e06070f11c99bca42cad8411e71e8dfbf4f7d6f.tar.bz2
gentoo-2e06070f11c99bca42cad8411e71e8dfbf4f7d6f.zip
media-sound/justeport: Bump to EAPI 7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/justeport/justeport-0.2.ebuild22
1 files changed, 6 insertions, 16 deletions
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
}