wok-current rev 9825

xl2tpd: fix BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 15 15:38:32 2011 +0200 (2011-05-15)
parents 6ae72f4eee59
children 6482c07e0501
files xl2tpd/receipt
line diff
     1.1 --- a/xl2tpd/receipt	Sun May 15 00:18:48 2011 +0000
     1.2 +++ b/xl2tpd/receipt	Sun May 15 15:38:32 2011 +0200
     1.3 @@ -8,15 +8,17 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.xelerance.com/software/xl2tpd"
     1.6  WGET_URL="$WEB_SITE/$TARBALL"
     1.7 -BUILD_DEPENDS="libpcap"
     1.8  TAGS="vpn tunnel"
     1.9  
    1.10 +DEPENDS="libpcap"
    1.11 +BUILD_DEPENDS="libpcap-dev"
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17  	sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
    1.18 -	make PREFIX=/usr DESTDIR=$PWD/_pkg install
    1.19 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.