wok-next diff iw/receipt @ rev 8423

Add flex to autofs build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 18:06:36 2011 +0000 (2011-02-05)
parents faa4c6e9600b
children 9b67cbf53bff
line diff
     1.1 --- a/iw/receipt	Tue Feb 16 14:37:58 2010 +0000
     1.2 +++ b/iw/receipt	Sat Feb 05 18:06:36 2011 +0000
     1.3 @@ -1,23 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iw"
     1.7 -VERSION="0"
     1.8 +VERSION="0.9.20"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Wireless configuration tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -TARBALL="$PACKAGE.tar.bz2"
    1.13 -WEB_SITE="http://www.aircrack-ng.org/"
    1.14 -WGET_URL="http://dl.aircrack-ng.org/$TARBALL"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +WEB_SITE="http://wireless.kernel.org/en/users/Documentation/iw"
    1.17 +WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL"
    1.18  DEPENDS="libnl"
    1.19 -BUILD_DEPENDS="libnl-dev"
    1.20 +BUILD_DEPENDS="libnl-dev pkg-config"
    1.21  TAGS="wireless"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	mkdir $PACKAGE-$VERSION
    1.27 -	mv *.c $src && mv *.h $src
    1.28 -	mv Makefile $src && mv COPYING $src
    1.29  	cd $src
    1.30  	make
    1.31  	make DESTDIR=$PWD/_pkg install
    1.32 @@ -25,6 +22,7 @@
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36 -{
    1.37 -	cp -a $_pkg/sbin $fs
    1.38 +{	
    1.39 +	mkdir -p $fs/usr
    1.40 +	cp -a $_pkg/usr/sbin $fs/usr
    1.41  }