wok-6.x annotate rfkill/receipt @ rev 20038
Add ipset, ipset-dev, iprange, firehol
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 24 19:59:19 2017 +0200 (2017-08-24) |
parents | de49f29b101e |
children | 6135577f4d08 |
rev | line source |
---|---|
slaxemulator@9313 | 1 # SliTaz package receipt. |
slaxemulator@9313 | 2 |
slaxemulator@9313 | 3 PACKAGE="rfkill" |
pankso@16395 | 4 VERSION="0.5" |
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" |
pascal@15600 | 8 LICENSE="MIT" |
pankso@16395 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@9313 | 10 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill" |
pankso@16395 | 11 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL" |
slaxemulator@9313 | 12 TAGS="kernel" |
pankso@16395 | 13 HOST_ARCH="i486 arm" |
pankso@16395 | 14 |
pankso@16395 | 15 BUILD_DEPENDS="wget" |
slaxemulator@9313 | 16 |
slaxemulator@9313 | 17 # Rules to configure and make the package. |
slaxemulator@9313 | 18 compile_rules() |
slaxemulator@9313 | 19 { |
slaxemulator@9313 | 20 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile |
slaxemulator@9313 | 21 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile |
slaxemulator@9313 | 22 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile |
slaxemulator@9313 | 23 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile |
pascal@15600 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@9313 | 25 } |
slaxemulator@9313 | 26 |
slaxemulator@9313 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9313 | 28 genpkg_rules() |
slaxemulator@9313 | 29 { |
slaxemulator@9313 | 30 mkdir -p $fs/usr |
pascal@15600 | 31 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9313 | 32 } |