wok-6.x annotate xl2tpd/receipt @ rev 11695
get-softmodem-driver: update start script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 17:51:03 2012 +0100 (2012-02-18) |
parents | 931c23265c9d |
children | b768ede0c5cb |
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@4956 | 11 TAGS="vpn tunnel" |
pascal@4531 | 12 |
pankso@9825 | 13 DEPENDS="libpcap" |
pankso@9825 | 14 BUILD_DEPENDS="libpcap-dev" |
pankso@9825 | 15 |
pascal@4531 | 16 # Rules to configure and make the package. |
pascal@4531 | 17 compile_rules() |
pascal@4531 | 18 { |
pascal@4531 | 19 cd $src |
pascal@4531 | 20 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile |
pankso@9825 | 21 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@4531 | 22 } |
pascal@4531 | 23 |
pascal@4531 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4531 | 25 genpkg_rules() |
pascal@4531 | 26 { |
pascal@4531 | 27 mkdir -p $fs/usr |
pascal@4531 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@4531 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4531 | 30 } |
pascal@4531 | 31 |