# HG changeset patch # User Pascal Bellard # Date 1259576691 -3600 # Node ID cf9b6575e973fc19a492e2cf9b2a5efab7952ca6 # Parent 7b93367385e74baa6798e967af57c291614899ed Add xl2tpd diff -r 7b93367385e7 -r cf9b6575e973 xl2tpd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xl2tpd/receipt Mon Nov 30 11:24:51 2009 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="xl2tpd" +VERSION="1.2.4" +CATEGORY="network" +SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xelerance.com/software/xl2tpd" +WGET_URL="$WEB_SITE/$TARBALL" +BUILD_DEPENDS="libpcap" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile + make PREFIX=/usr DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr +} +