wok annotate iw/receipt @ rev 6960
singularity: patch and path change
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Oct 26 13:14:13 2010 +0200 (2010-10-26) |
parents | faa4c6e9600b |
children | 9b67cbf53bff |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="iw" |
slaxemulator@6315 | 4 VERSION="0.9.20" |
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 } |