diff options
author | David Seifert <soap@gentoo.org> | 2017-12-27 21:55:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-27 22:15:50 +0100 |
commit | 7fc8e22c72d9b9956bcc639b0ef6aa31cf36dacf (patch) | |
tree | 5e9c3f3268cea11b08afdd348a31f2f80cc180ec /sys-apps/isapnptools/isapnptools-1.27.ebuild | |
parent | sci-electronics/ngspice: correct the logic in autoconf fftw patch (diff) | |
download | gentoo-7fc8e22c72d9b9956bcc639b0ef6aa31cf36dacf.tar.gz gentoo-7fc8e22c72d9b9956bcc639b0ef6aa31cf36dacf.tar.bz2 gentoo-7fc8e22c72d9b9956bcc639b0ef6aa31cf36dacf.zip |
sys-apps/isapnptools: Port to EAPI 6
Closes: https://bugs.gentoo.org/622768
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps/isapnptools/isapnptools-1.27.ebuild')
-rw-r--r-- | sys-apps/isapnptools/isapnptools-1.27.ebuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sys-apps/isapnptools/isapnptools-1.27.ebuild b/sys-apps/isapnptools/isapnptools-1.27.ebuild index 47812b883bf9..c95092405332 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 |