summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-15 10:42:17 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-15 10:42:17 +0000
commit948d2b4c0b15f1dbfe6a74a4805d97a2b39975dd (patch)
treea9e9113b9dbd59644bb8007b3e5445b0ac25dd6e /net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild
parentNew package. Request bug #126503 by Cristiano Chiucchiolo (diff)
downloadgentoo-2-948d2b4c0b15f1dbfe6a74a4805d97a2b39975dd.tar.gz
gentoo-2-948d2b4c0b15f1dbfe6a74a4805d97a2b39975dd.tar.bz2
gentoo-2-948d2b4c0b15f1dbfe6a74a4805d97a2b39975dd.zip
Fix multilib-strict violation.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild')
-rw-r--r--net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild
new file mode 100644
index 000000000000..3a3da2a27133
--- /dev/null
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/04/15 10:42:17 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"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc x86"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_install() {
+ 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"
+
+ newinitd "${FILESDIR}/rp-l2tpd-init" rp-l2tpd
+}