wok annotate iw/receipt @ rev 9743
Fix: pam BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:34:00 2011 +0200 (2011-05-10) |
parents | 6dc0a4bbd74f |
children | 8bf6137ae969 |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="iw" |
slaxemulator@8906 | 4 VERSION="0.9.22" |
pascal@1110 | 5 CATEGORY="network" |
pascal@1110 | 6 SHORT_DESC="Wireless configuration tool." |
pascal@1110 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@6315 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6315 | 9 WEB_SITE="http://wireless.kernel.org/en/users/Documentation/iw" |
slaxemulator@6315 | 10 WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL" |
pascal@1110 | 11 DEPENDS="libnl" |
slaxemulator@6315 | 12 BUILD_DEPENDS="libnl-dev pkg-config" |
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 { |
pascal@1110 | 18 cd $src |
pascal@1110 | 19 make |
pascal@1110 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1110 | 21 } |
pascal@1110 | 22 |
pascal@1110 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 24 genpkg_rules() |
slaxemulator@6315 | 25 { |
slaxemulator@6315 | 26 mkdir -p $fs/usr |
slaxemulator@6315 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1110 | 28 } |