wok view iw/receipt @ rev 9720

Fixed slitaz-i18n to use cook if it exists to make locale packages. If cook doesn't exist it will use tazwok.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 00:42:20 2011 +0000 (2011-05-09)
parents 6dc0a4bbd74f
children 8bf6137ae969
line source
1 # SliTaz package receipt.
3 PACKAGE="iw"
4 VERSION="0.9.22"
5 CATEGORY="network"
6 SHORT_DESC="Wireless configuration tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://wireless.kernel.org/en/users/Documentation/iw"
10 WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL"
11 DEPENDS="libnl"
12 BUILD_DEPENDS="libnl-dev pkg-config"
13 TAGS="wireless"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 }