diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-12-28 14:47:06 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-12-28 14:47:06 +0000 |
commit | b452ef2b986216897900f56b59362978a5e81b35 (patch) | |
tree | 50c9baeec2587a6ce91a70212618c04c8e0b65f2 /sys-apps/ifplugd | |
parent | seems to work on ~arm (diff) | |
download | gentoo-2-b452ef2b986216897900f56b59362978a5e81b35.tar.gz gentoo-2-b452ef2b986216897900f56b59362978a5e81b35.tar.bz2 gentoo-2-b452ef2b986216897900f56b59362978a5e81b35.zip |
Cleanup a bit to eapi4
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r-- | sys-apps/ifplugd/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/ifplugd/ifplugd-0.28-r9.ebuild | 22 |
2 files changed, 14 insertions, 13 deletions
diff --git a/sys-apps/ifplugd/ChangeLog b/sys-apps/ifplugd/ChangeLog index af70103c89aa..d43450cbab50 100644 --- a/sys-apps/ifplugd/ChangeLog +++ b/sys-apps/ifplugd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/ifplugd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.52 2011/12/28 14:41:56 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.53 2011/12/28 14:47:06 scarabeus Exp $ + + 28 Dec 2011; Tomáš Chvátal <scarabeus@gentoo.org> ifplugd-0.28-r9.ebuild: + Cleanup a bit to eapi4 28 Dec 2011; Fabio Erculiani <lxnay@gentoo.org> ifplugd-0.28-r9.ebuild: seems to work on ~arm diff --git a/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild index 335e312de8ba..50ef4e0d4bc5 100644 --- a/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild +++ b/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.6 2011/12/28 14:41:56 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.7 2011/12/28 14:47:06 scarabeus Exp $ + +EAPI=4 inherit eutils @@ -19,33 +21,29 @@ DEPEND="dev-util/pkgconfig RDEPEND=">=dev-libs/libdaemon-0.5 >=sys-apps/baselayout-1.12" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${P}-nlapi.diff" epatch "${FILESDIR}/${P}-interface.patch" epatch "${FILESDIR}/${P}-strictalias.patch" epatch "${FILESDIR}/${P}-noip.patch" } -src_compile() { - econf $(use_enable doc lynx) \ +src_configure() { + econf \ + $(use_enable doc lynx) \ --with-initdir=/etc/init.d \ --disable-xmltoman \ - --disable-subversion \ - || die "econf failed" - emake || die "emake failed" + --disable-subversion } src_install() { - make DESTDIR="${D}" install || die "make install failed" + default # Remove init.d configuration as we no longer use it rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}" - dodir "/etc/${PN}" exeinto "/etc/${PN}" - newexe "${FILESDIR}/${PN}.action" "${PN}.action" || die + newexe "${FILESDIR}/${PN}.action" "${PN}.action" cd "${S}/doc" dodoc README SUPPORTED_DRIVERS |