summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-03-08 14:36:25 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-03-08 14:36:25 +0000
commitee86d1d228ce5bcf83eba7d6f3e3f199acb89bb6 (patch)
tree9d7fef4cbbb97afb58657bbae1e3f422f946d8aa /net-dialup
parentMigrate to EAPI 2. (diff)
downloadgentoo-2-ee86d1d228ce5bcf83eba7d6f3e3f199acb89bb6.tar.gz
gentoo-2-ee86d1d228ce5bcf83eba7d6f3e3f199acb89bb6.tar.bz2
gentoo-2-ee86d1d228ce5bcf83eba7d6f3e3f199acb89bb6.zip
Migrate to EAPI 2.
(Portage version: 2.2_rc20/cvs/Linux 2.6.29-rc6 i686)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/penggy/ChangeLog7
-rw-r--r--net-dialup/penggy/penggy-0.2.1.ebuild25
2 files changed, 14 insertions, 18 deletions
diff --git a/net-dialup/penggy/ChangeLog b/net-dialup/penggy/ChangeLog
index 8f756efd7a53..2ff6e2c66477 100644
--- a/net-dialup/penggy/ChangeLog
+++ b/net-dialup/penggy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/penggy
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/ChangeLog,v 1.15 2007/10/28 22:37:23 dberkholz Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/ChangeLog,v 1.16 2009/03/08 14:36:25 betelgeuse Exp $
+
+ 08 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> penggy-0.2.1.ebuild:
+ Migrate to EAPI 2.
28 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
I haven't used this in a couple years, no point in keeping my name in the
diff --git a/net-dialup/penggy/penggy-0.2.1.ebuild b/net-dialup/penggy/penggy-0.2.1.ebuild
index 88e11aec2800..31efbf862345 100644
--- a/net-dialup/penggy/penggy-0.2.1.ebuild
+++ b/net-dialup/penggy/penggy-0.2.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/penggy-0.2.1.ebuild,v 1.16 2007/10/12 03:29:26 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/penggy-0.2.1.ebuild,v 1.17 2009/03/08 14:36:25 betelgeuse Exp $
+
+EAPI="2"
inherit eutils autotools
@@ -13,27 +15,18 @@ SLOT="0"
KEYWORDS="x86"
IUSE=""
-DEPEND=">=dev-scheme/guile-1.4.0"
-
-pkg_setup() {
- if ! built_with_use --missing true dev-scheme/guile deprecated; then
- local msg="${PN} requires guile to be rebuilt with the deprecated flag."
- eerror "${msg}"
- die "${msg}"
- fi
-}
-
-src_unpack() {
- unpack ${A}
+# Pull in a version that always has the deprecated use flag
+DEPEND=">=dev-scheme/guile-1.8[deprecated]"
+RDEPEND="${DEPEND}"
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-as-needed.patch"
epatch "${FILESDIR}/${P}-nostrip.patch"
eautoconf
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
newinitd "${FILESDIR}/rc_net.aol" net.aol
}