wok-4.x view iw/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | 0258e84c532f |
children | 6dc0a4bbd74f |
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"
13 TAGS="wireless"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir $PACKAGE-$VERSION
19 mv *.c $src && mv *.h $src
20 mv Makefile $src && mv COPYING $src
21 cd $src
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/sbin $fs
30 }