wok-current annotate xl2tpd/receipt @ rev 9335
Up: slitaz-menus (2.0) - Have now SliTaz Network menu :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:37:40 2011 +0100 (2011-03-18) |
parents | cf9b6575e973 |
children | 9fa27dfc48ee |
rev | line source |
---|---|
pascal@4531 | 1 # SliTaz package receipt. |
pascal@4531 | 2 |
pascal@4531 | 3 PACKAGE="xl2tpd" |
pascal@4531 | 4 VERSION="1.2.4" |
pascal@4531 | 5 CATEGORY="network" |
pascal@4531 | 6 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." |
pascal@4531 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4531 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4531 | 9 WEB_SITE="http://www.xelerance.com/software/xl2tpd" |
pascal@4531 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4531 | 11 BUILD_DEPENDS="libpcap" |
pascal@4956 | 12 TAGS="vpn tunnel" |
pascal@4531 | 13 |
pascal@4531 | 14 # Rules to configure and make the package. |
pascal@4531 | 15 compile_rules() |
pascal@4531 | 16 { |
pascal@4531 | 17 cd $src |
pascal@4531 | 18 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile |
pascal@4531 | 19 make PREFIX=/usr DESTDIR=$PWD/_pkg install |
pascal@4531 | 20 } |
pascal@4531 | 21 |
pascal@4531 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4531 | 23 genpkg_rules() |
pascal@4531 | 24 { |
pascal@4531 | 25 mkdir -p $fs/usr |
pascal@4531 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@4531 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4531 | 28 } |
pascal@4531 | 29 |