wok-6.x view iw/receipt @ rev 3435
coreutils: Fix (hack) build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 13 16:20:43 2009 +0200 (2009-06-13) |
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 }