media-plugins/vamp-libxtract-plugins: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Sat, 2 Jun 2018 17:17:39 +0000 (13:17 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 2 Jun 2018 22:37:16 +0000 (18:37 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-plugins/vamp-libxtract-plugins/vamp-libxtract-plugins-0.6.6.20121204.ebuild

index c6fb88e8947cda6d9bdacb610676e01d90f5a2a6..08a717bc9b5a307d8c1b20917f960ee5b6691391 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils multilib toolchain-funcs
+EAPI=6
+
+inherit multilib toolchain-funcs
 
 DESCRIPTION="Vamp plugin encapsulating many of the functions of the LibXtract library"
 HOMEPAGE="http://www.vamp-plugins.org/"
@@ -19,16 +20,16 @@ RDEPEND="=sci-libs/fftw-3*
 DEPEND="${RDEPEND}"
 
 src_prepare() {
-       sed -e "s/-O3//" -e "s/ -Wl,-Bstatic//" -i Makefile
+       default
+       sed -e "s/-O3//" -e "s/ -Wl,-Bstatic//" -i Makefile || die "sed Makefile failed"
 }
 
-src_compile() {
+src_configure() {
        tc-export CXX
-       emake || die "emake failed"
 }
 
 src_install() {
        insinto /usr/$(get_libdir)/vamp
-       doins vamp-libxtract.{so,cat} || die "doins failed"
-       dodoc README STATUS
+       doins vamp-libxtract.{so,cat}
+       einstalldocs
 }