wok-next annotate iw/receipt @ rev 15201
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 07 18:25:02 2013 +0000 (2013-09-07) |
parents | 8bf6137ae969 |
children | de49f29b101e |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="iw" |
pascal@13465 | 4 VERSION="3.6" |
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" |
erjo@9996 | 11 TAGS="wireless" |
erjo@9996 | 12 |
pascal@1110 | 13 DEPENDS="libnl" |
slaxemulator@6315 | 14 BUILD_DEPENDS="libnl-dev pkg-config" |
pascal@1110 | 15 |
pascal@1110 | 16 # Rules to configure and make the package. |
pascal@1110 | 17 compile_rules() |
pascal@1110 | 18 { |
pascal@1110 | 19 cd $src |
pascal@1110 | 20 make |
erjo@9996 | 21 make DESTDIR=$DESTDIR install |
pascal@1110 | 22 } |
pascal@1110 | 23 |
pascal@1110 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 25 genpkg_rules() |
slaxemulator@6315 | 26 { |
slaxemulator@6315 | 27 mkdir -p $fs/usr |
pascal@13465 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@1110 | 29 } |