diff options
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 |