blob: 76ea4f42a9ac9027ed4782b4fe90d1461ab85cc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2005 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 $
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"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.diff
}
src_compile() {
econf || die "configure failed"
emake || die "make failed"
}
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
exeinto /etc/init.d
newexe ${FILESDIR}/rp-l2tpd-init rp-l2tpd
}
|