wok-stable annotate iw/receipt @ rev 3920

linux*: fix list_modules.sh path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 21:01:42 2009 +0200 (2009-08-18)
parents e9c6229130e2
children faa4c6e9600b
rev   line source
pascal@1110 1 # SliTaz package receipt.
pascal@1110 2
pascal@1110 3 PACKAGE="iw"
pascal@1110 4 VERSION="0"
pascal@1110 5 CATEGORY="network"
pascal@1110 6 SHORT_DESC="Wireless configuration tool."
pascal@1110 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1110 8 TARBALL="$PACKAGE.tar.bz2"
pascal@1110 9 WEB_SITE="http://www.aircrack-ng.org/"
pascal@1110 10 WGET_URL="http://dl.aircrack-ng.org/$TARBALL"
pascal@1110 11 DEPENDS="libnl"
pascal@1110 12 BUILD_DEPENDS="libnl-dev"
pascal@1110 13
pascal@1110 14 # Rules to configure and make the package.
pascal@1110 15 compile_rules()
pascal@1110 16 {
pankso@1113 17 mkdir $PACKAGE-$VERSION
pankso@1113 18 mv *.c $src && mv *.h $src
pankso@1113 19 mv Makefile $src && mv COPYING $src
pascal@1110 20 cd $src
pascal@1110 21 make
pascal@1110 22 make DESTDIR=$PWD/_pkg install
pascal@1110 23 }
pascal@1110 24
pascal@1110 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1110 26 genpkg_rules()
pascal@1110 27 {
pascal@1110 28 cp -a $_pkg/sbin $fs
pascal@1110 29 }