wok-4.x annotate xl2tpd/receipt @ rev 10984
Up: libffi to 3.0.10.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 14:02:59 2011 +0000 (2011-10-12) |
parents | 931c23265c9d |
children |
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 |