wok annotate iw/receipt @ rev 10362

talloc: make it build (bug in CROSS)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 01:44:08 2011 +0200 (2011-05-23)
parents 9b67cbf53bff
children c993d22235c4
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"
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
slaxemulator@6315 28 cp -a $_pkg/usr/sbin $fs/usr
pascal@1110 29 }