From aaaf921ea67d3347a4fe39ac620f5fd7d9d03941 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 27 Dec 2017 22:44:24 +0100 Subject: app-misc/wipe: Port to EAPI 6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- app-misc/wipe/wipe-2.3.1.ebuild | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'app-misc') diff --git a/app-misc/wipe/wipe-2.3.1.ebuild b/app-misc/wipe/wipe-2.3.1.ebuild index c53200bc8276..8775ae458c90 100644 --- a/app-misc/wipe/wipe-2.3.1.ebuild +++ b/app-misc/wipe/wipe-2.3.1.ebuild @@ -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() { -- cgit v1.2.3-65-gdbad