wok annotate rfkill/receipt @ rev 23395
updated perl-test-deep (0.106 -> 1.130)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:09:45 2020 +0100 (2020-03-31) |
parents | fa39e0a3612e |
children | 71360a13cd94 |
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" |
pascal@20679 | 10 WEB_SITE="https://wireless.wiki.kernel.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 } |