wok diff xl2tpd/receipt @ rev 4897

pidgin-libnotify: Fix WGET_URL.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Feb 09 23:36:33 2010 +0100 (2010-02-09)
parents
children 931c23265c9d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xl2tpd/receipt	Tue Feb 09 23:36:33 2010 +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 +