wok-6.x 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 | be154d2d3d27 |
children | f6df330ed424 |
files | rp-l2tp/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rp-l2tp/receipt Tue Feb 16 10:29:20 2010 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rp-l2tp" 1.7 +VERSION="0.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="L2TP tunnel (vpn)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://rp-l2tp.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 + --mandir=/usr/share/man \ 1.21 + $CONFIGURE_ARGS && 1.22 + make && 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins 1.30 + cp -a $_pkg/etc $fs 1.31 + cp -a $_pkg/usr/sbin $fs/usr 1.32 + cp -a $src/handlers/l2tp-control $fs/usr/sbin 1.33 + cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins 1.34 +} 1.35 +