wok-next view rp-l2tp/receipt @ rev 4924
Add rp-l2tp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 16 10:29:20 2010 +0100 (2010-02-16) |
parents | |
children | f6df330ed424 |
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/sbin $fs/usr
29 cp -a $src/handlers/l2tp-control $fs/usr/sbin
30 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
31 }