wok annotate rfkill/receipt @ rev 9949
jed: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 18 12:35:56 2011 +0200 (2011-05-18) |
parents | |
children | de49f29b101e |
rev | line source |
---|---|
slaxemulator@9313 | 1 # SliTaz package receipt. |
slaxemulator@9313 | 2 |
slaxemulator@9313 | 3 PACKAGE="rfkill" |
slaxemulator@9313 | 4 VERSION="0.4" |
slaxemulator@9313 | 5 CATEGORY="system-tools" |
slaxemulator@9313 | 6 SHORT_DESC="Utility to query the state of the rfkill switches" |
slaxemulator@9313 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9313 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9313 | 9 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill" |
slaxemulator@9313 | 10 WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL" |
slaxemulator@9313 | 11 TAGS="kernel" |
slaxemulator@9313 | 12 |
slaxemulator@9313 | 13 # Rules to configure and make the package. |
slaxemulator@9313 | 14 compile_rules() |
slaxemulator@9313 | 15 { |
slaxemulator@9313 | 16 cd $src |
slaxemulator@9313 | 17 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile |
slaxemulator@9313 | 18 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile |
slaxemulator@9313 | 19 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile |
slaxemulator@9313 | 20 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile |
slaxemulator@9313 | 21 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@9313 | 22 } |
slaxemulator@9313 | 23 |
slaxemulator@9313 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9313 | 25 genpkg_rules() |
slaxemulator@9313 | 26 { |
slaxemulator@9313 | 27 mkdir -p $fs/usr |
slaxemulator@9313 | 28 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@9313 | 29 } |