wok-next view rfkill/receipt @ rev 20514

ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 16:15:19 2018 +0200 (2018-03-21)
parents c4e53a39395a
children 8e1b2a143eb3
line source
1 # SliTaz package receipt.
3 PACKAGE="rfkill"
4 VERSION="0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility to query the state of the rfkill switches"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill"
11 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL"
12 TAGS="kernel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
18 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
19 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
20 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 }