wok-current annotate rp-l2tp/receipt @ rev 8239
busybox: Fixed syntex. New tazwok doesn't like { make oldconfig && make} || return 1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Jan 27 20:52:34 2011 +0000 (2011-01-27) |
parents | 99315f95e162 |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@4924 | 1 # SliTaz package receipt. |
pascal@4924 | 2 |
pascal@4924 | 3 PACKAGE="rp-l2tp" |
pascal@4924 | 4 VERSION="0.4" |
pascal@4924 | 5 CATEGORY="network" |
pascal@4924 | 6 SHORT_DESC="L2TP tunnel (vpn)." |
pascal@4924 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4924 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4924 | 9 WEB_SITE="http://rp-l2tp.sourceforge.net/" |
pascal@4924 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4925 | 11 TAGS="vpn tunnel" |
pascal@4924 | 12 |
pascal@4924 | 13 # Rules to configure and make the package. |
pascal@4924 | 14 compile_rules() |
pascal@4924 | 15 { |
pascal@4924 | 16 cd $src |
pascal@4924 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4924 | 18 --mandir=/usr/share/man \ |
pascal@4924 | 19 $CONFIGURE_ARGS && |
pascal@4924 | 20 make && |
pascal@4924 | 21 make DESTDIR=$PWD/_pkg install |
pascal@4924 | 22 } |
pascal@4924 | 23 |
pascal@4924 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4924 | 25 genpkg_rules() |
pascal@4924 | 26 { |
pascal@4924 | 27 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins |
pascal@4924 | 28 cp -a $_pkg/etc $fs |
pascal@4924 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4924 | 30 cp -a $src/handlers/l2tp-control $fs/usr/sbin |
pascal@4924 | 31 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins |
pascal@4924 | 32 } |
pascal@4924 | 33 |