wok annotate iw/receipt @ rev 5913

ffmpeg-svn: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 11:17:36 2010 +0200 (2010-07-27)
parents 0258e84c532f
children 6dc0a4bbd74f
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"
jozee@4938 13 TAGS="wireless"
pascal@1110 14
pascal@1110 15 # Rules to configure and make the package.
pascal@1110 16 compile_rules()
pascal@1110 17 {
pankso@1113 18 mkdir $PACKAGE-$VERSION
pankso@1113 19 mv *.c $src && mv *.h $src
pankso@1113 20 mv Makefile $src && mv COPYING $src
pascal@1110 21 cd $src
pascal@1110 22 make
pascal@1110 23 make DESTDIR=$PWD/_pkg install
pascal@1110 24 }
pascal@1110 25
pascal@1110 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1110 27 genpkg_rules()
pascal@1110 28 {
pascal@1110 29 cp -a $_pkg/sbin $fs
pascal@1110 30 }