wok view rfkill/receipt @ rev 14571

Up xorg-libX11 (1.5.99.902), xorg-libXcursor (1.1.14)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 24 12:13:58 2013 +0200 (2013-05-24)
parents
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="rfkill"
4 VERSION="0.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility to query the state of the rfkill switches"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill"
10 WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL"
11 TAGS="kernel"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
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=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 }