commit: 7fc8e22c72d9b9956bcc639b0ef6aa31cf36dacf Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Wed Dec 27 20:55:58 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Dec 27 21:15:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc8e22c
sys-apps/isapnptools: Port to EAPI 6 Closes: https://bugs.gentoo.org/622768 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../isapnptools/files/isapnptools-1.27-include.patch | 4 ++-- sys-apps/isapnptools/isapnptools-1.27.ebuild | 18 +++++++----------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/sys-apps/isapnptools/files/isapnptools-1.27-include.patch b/sys-apps/isapnptools/files/isapnptools-1.27-include.patch index a736ccc1eb9..016490eba44 100644 --- a/sys-apps/isapnptools/files/isapnptools-1.27-include.patch +++ b/sys-apps/isapnptools/files/isapnptools-1.27-include.patch @@ -1,5 +1,5 @@ ---- src/callbacks.c.org 2001-05-15 22:37:04.000000000 +0200 -+++ src/callbacks.c 2011-06-15 05:21:32.292819557 +0200 +--- a/src/callbacks.c ++++ b/src/callbacks.c @@ -51,6 +51,7 @@ #include <stdio.h> #include <errno.h> diff --git a/sys-apps/isapnptools/isapnptools-1.27.ebuild b/sys-apps/isapnptools/isapnptools-1.27.ebuild index 47812b883bf..c9509240533 100644 --- a/sys-apps/isapnptools/isapnptools-1.27.ebuild +++ b/sys-apps/isapnptools/isapnptools-1.27.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="3" - -inherit eutils +EAPI=6 DESCRIPTION="Tools for configuring ISA PnP devices" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" @@ -14,18 +12,16 @@ SLOT="0" KEYWORDS="-* amd64 x86" IUSE="" -src_prepare() { - epatch "${FILESDIR}"/${P}-include.patch -} +PATCHES=( "${FILESDIR}"/${P}-include.patch ) src_install() { - emake DESTDIR="${D}" install || die + default + dodir /sbin - mv "${D}"/usr/sbin/isapnp "${D}"/sbin/ || die + mv "${ED%/}"/{usr/sbin/isapnp,sbin/} || die - dodoc AUTHORS ChangeLog README NEWS docinto txt - dodoc doc/README* doc/*.txt test/*.txt + dodoc doc/{README*,*.txt} test/*.txt dodoc etc/isapnp.* newinitd "${FILESDIR}"/isapnp.rc isapnp
