wok-4.x view rp-l2tp/receipt @ rev 6606
Added perl and m4 to autoconf depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 17:56:22 2010 +0000 (2010-10-09) |
parents | 99315f95e162 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rp-l2tp"
4 VERSION="0.4"
5 CATEGORY="network"
6 SHORT_DESC="L2TP tunnel (vpn)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://rp-l2tp.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="vpn tunnel"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $src/handlers/l2tp-control $fs/usr/sbin
31 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
32 }