wok-next view rfkill/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents fa39e0a3612e
children d43bf7aae921
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 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
20 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
21 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
22 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }