wok rev 4531

Add xl2tpd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 30 11:24:51 2009 +0100 (2009-11-30)
parents 7b93367385e7
children fd7196ef5021
files xl2tpd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xl2tpd/receipt	Mon Nov 30 11:24:51 2009 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xl2tpd"
     1.7 +VERSION="1.2.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.xelerance.com/software/xl2tpd"
    1.13 +WGET_URL="$WEB_SITE/$TARBALL"
    1.14 +BUILD_DEPENDS="libpcap"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
    1.21 +	make PREFIX=/usr DESTDIR=$PWD/_pkg install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr
    1.28 +	cp -a $_pkg/usr/bin $fs/usr
    1.29 +	cp -a $_pkg/usr/sbin $fs/usr
    1.30 +}
    1.31 +