wok-next annotate rfkill/receipt @ rev 20990

Remove mate116 stash
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 02 22:23:34 2018 +0300 (2018-10-02)
parents d43bf7aae921
children d5aab818505e
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"
al@20949 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
slaxemulator@9313 14 # Rules to configure and make the package.
slaxemulator@9313 15 compile_rules()
slaxemulator@9313 16 {
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
pascal@15600 21 make && make DESTDIR=$DESTDIR 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
pascal@15600 28 cp -a $install/usr/sbin $fs/usr
slaxemulator@9313 29 }