media-libs/bio2jack: EAPI-7 bump, add missing || die
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 22 May 2019 12:48:37 +0000 (14:48 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 22 May 2019 15:41:21 +0000 (17:41 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/bio2jack/bio2jack-0.9-r2.ebuild

index 1365950c7e60535a73066f172b134428fa54e2f2..a9ad795129622ff51ad07d4a15c298a9aaa4b096 100644 (file)
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit autotools
 
 DESCRIPTION="A library for porting blocked I/O OSS/ALSA audio applications to JACK"
@@ -13,20 +14,23 @@ SLOT="0"
 KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="static-libs"
 
-RDEPEND="media-libs/libsamplerate
+BDEPEND="
+       virtual/pkgconfig
+"
+DEPEND="
+       media-libs/libsamplerate
        virtual/jack"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}
 
 src_prepare() {
-       eapply_user
+       default
 
        # upstream does not provide a real release, it releases a tarball
        # with a _prebuilt_ copy of bio2jack. Drop all of the built stuff
        # and recreate autotools from scratch, then build.
-       rm -rf *.a *.o *.la *.lo .libs .deps Makefile config.{log,status} stamp-h1 stamp || die
+       rm -r *.o *.la *.lo .libs .deps Makefile config.{log,status} stamp-h1 || die
 
        eautoreconf
 }
@@ -38,8 +42,7 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install
+       default
        dobin bio2jack-config
-       dodoc AUTHORS ChangeLog NEWS README
-       rm -f "${ED}"usr/lib*/lib*.la
+       rm -f "${ED}"/usr/lib*/lib*.la || die
 }