wok-current diff libdnet/receipt @ rev 17191

Add tsocks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 06 15:05:57 2014 +0200 (2014-10-06)
parents 231408e11c7e
children eeba7ab1dffe
line diff
     1.1 --- a/libdnet/receipt	Sat Oct 09 17:57:34 2010 +0000
     1.2 +++ b/libdnet/receipt	Mon Oct 06 15:05:57 2014 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="A simplified, portable interface to serveral low-level networking routines"
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9 +LICENSE="BSD"
    1.10  TARBALL="$PACKAGE-$VERSION.tgz"
    1.11  WEB_SITE="http://code.google.com/p/libdnet/"
    1.12  WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    1.15 +BUILD_DEPENDS="python python-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -20,15 +22,15 @@
    1.21  		--infodir=/usr/share/info \
    1.22  		--mandir=/usr/share/man \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib
    1.32 -	cp -a $_pkg/usr/sbin $fs/usr
    1.33 -	cp -a $_pkg/usr/lib/libdnet $fs/usr/lib
    1.34 -	cp -a $_pkg/usr/lib/*.1* $fs/usr/lib
    1.35 +	cp -a $install/usr/sbin $fs/usr
    1.36 +	cp -a $install/usr/lib/libdnet $fs/usr/lib
    1.37 +	cp -a $install/usr/lib/*.1* $fs/usr/lib
    1.38  }
    1.39