summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-03-16 20:47:47 +0000
committerAlin Năstac <mrness@gentoo.org>2006-03-16 20:47:47 +0000
commita32b87333257a7c6e75d425408486538d59abbcc (patch)
treeb987bbb1abdbf8e48a9400472112a01f227b0d58 /net-dialup/rp-l2tp
parentVersion bump - bug #119213 (diff)
downloadgentoo-2-a32b87333257a7c6e75d425408486538d59abbcc.tar.gz
gentoo-2-a32b87333257a7c6e75d425408486538d59abbcc.tar.bz2
gentoo-2-a32b87333257a7c6e75d425408486538d59abbcc.zip
Simplify the ebuild code.
(Portage version: 2.0.54)
Diffstat (limited to 'net-dialup/rp-l2tp')
-rw-r--r--net-dialup/rp-l2tp/ChangeLog7
-rw-r--r--net-dialup/rp-l2tp/Manifest16
-rw-r--r--net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild21
3 files changed, 15 insertions, 29 deletions
diff --git a/net-dialup/rp-l2tp/ChangeLog b/net-dialup/rp-l2tp/ChangeLog
index ebf61d958702..90b12b2e6b92 100644
--- a/net-dialup/rp-l2tp/ChangeLog
+++ b/net-dialup/rp-l2tp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/rp-l2tp
-# Copyright 2003-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/ChangeLog,v 1.13 2005/08/29 05:39:11 mrness Exp $
+# Copyright 2003-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/ChangeLog,v 1.14 2006/03/16 20:47:47 mrness Exp $
+
+ 16 Mar 2006; Alin Nastac <mrness@gentoo.org> rp-l2tp-0.4.ebuild:
+ Simplify the ebuild code.
29 Aug 2005; Alin Nastac <mrness@gentoo.org> rp-l2tp-0.4.ebuild:
Fix cp -a usage for Gentoo BSD (#103487).
diff --git a/net-dialup/rp-l2tp/Manifest b/net-dialup/rp-l2tp/Manifest
index 85cab791733e..abc99f4ea5d0 100644
--- a/net-dialup/rp-l2tp/Manifest
+++ b/net-dialup/rp-l2tp/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 fb8c22598ff49357d4636f29e141c2d9 rp-l2tp-0.4.ebuild 922
MD5 3185f73ccfff948612b0ca1c484227a1 ChangeLog 1814
-MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
MD5 0ce9c1cb5b3c8e769e422f4f6d43ba51 files/digest-rp-l2tp-0.4 63
-MD5 253968a2351a4312da37ef20131502a5 files/rp-l2tpd-init 484
MD5 e1b913c39a0c199d38732c4ba9ab5338 files/rp-l2tp-0.4-gentoo.diff 8856
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDEqAvNSP4Vda7IdsRAjfaAJ4+MZCT8DsghLZKMBtRDzmRnCa9vACeIkR6
-BYVTpuvaCwiboBjHVEmev8I=
-=x057
------END PGP SIGNATURE-----
+MD5 253968a2351a4312da37ef20131502a5 files/rp-l2tpd-init 484
+MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
+MD5 a8635759c60e95439ebeada29673f26b rp-l2tp-0.4.ebuild 801
diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild
index 76ea4f42a9ac..6ec4591ffd84 100644
--- a/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild,v 1.5 2005/08/29 05:39:11 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild,v 1.6 2006/03/16 20:47:47 mrness Exp $
inherit eutils
DESCRIPTION="RP-L2TP is a user-space implementation of L2TP for Linux and other UNIX systems"
HOMEPAGE="http://sourceforge.net/projects/rp-l2tp/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-DEPEND="virtual/libc"
+
LICENSE="GPL-2"
KEYWORDS="x86 amd64 ~ppc"
SLOT="0"
@@ -16,22 +16,15 @@ IUSE=""
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
-}
-
-src_compile() {
- econf || die "configure failed"
- emake || die "make failed"
+ epatch "${FILESDIR}/${P}-gentoo.diff"
}
src_install() {
- make RPM_INSTALL_ROOT=${D} install || die "make install failed"
+ make RPM_INSTALL_ROOT="${D}" install || die "make install failed"
dodoc README
newdoc l2tp.conf rp-l2tpd.conf
- cp -pPR libevent/Doc ${D}/usr/share/doc/${PF}/libevent
+ cp -pPR libevent/Doc "${D}/usr/share/doc/${PF}/libevent"
- exeinto /etc/init.d
- newexe ${FILESDIR}/rp-l2tpd-init rp-l2tpd
+ newinitd "${FILESDIR}/rp-l2tpd-init" rp-l2tpd
}