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