app-arch/unadf: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 11:41:47 +0000 (12:41 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 13:16:39 +0000 (14:16 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-arch/unadf/unadf-0.7.12.ebuild

index 8250209a1c241ef962fe64b723851a2253d73686..d2c414ac385d407aadb1ef756d3970e10c8d4ada 100644 (file)
@@ -1,25 +1,25 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 MY_PN="adflib"
 
 DESCRIPTION="Extract files from Amiga adf disk images"
-SRC_URI="http://lclevy.free.fr/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
 HOMEPAGE="http://lclevy.free.fr/adflib/"
+SRC_URI="http://lclevy.free.fr/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
 IUSE="static-libs"
-DEPEND=""
-RDEPEND=""
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 src_prepare() {
+       default
        eautoreconf
 }
 
@@ -29,5 +29,5 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 }