wok-6.x view rfkill/receipt @ rev 15661
git-gui, libsmpeg, lorcon, nbs, opentyrian: add (implicit) TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 12 09:03:33 2013 +0000 (2013-12-12) |
parents | 09a5a7538ed7 |
children | fa39e0a3612e |
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill"
11 WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL"
12 TAGS="kernel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
19 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
20 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
21 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 }