app-misc/wipe: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Wed, 27 Dec 2017 21:44:24 +0000 (22:44 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 27 Dec 2017 22:10:25 +0000 (23:10 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-misc/wipe/wipe-2.3.1.ebuild

index c53200bc82760c42c8d6194e47393fa5c561a338..8775ae458c90699ea8b84bd3aeaea81af54bda13 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=3
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
 HOMEPAGE="http://wipe.sourceforge.net/"
@@ -17,19 +17,23 @@ IUSE=""
 DEPEND=""
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}"/${P}-LDFLAGS.patch )
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+       default
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
 src_compile() {
-       emake CFLAGS="${CFLAGS}" || die
+       emake CFLAGS="${CFLAGS}"
 }
 
 src_install() {
-       dobin wipe || die
-       doman wipe.1 || die
-       dodoc CHANGES README TODO TESTING || die
+       dobin wipe
+       doman wipe.1
+       einstalldocs
+       dodoc TESTING
 }
 
 pkg_postinst() {