wok-4.x diff rfkill/receipt @ rev 10539
remmina-plugins: fix path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 18:49:36 2011 +0200 (2011-05-25) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rfkill/receipt Wed May 25 18:49:36 2011 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rfkill" 1.7 +VERSION="0.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Utility to query the state of the rfkill switches" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill" 1.13 +WGET_URL="http://wireless.kernel.org/download/$PACKAGE/$TARBALL" 1.14 +TAGS="kernel" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile 1.21 + sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile 1.22 + sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile 1.23 + sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile 1.24 + make && make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr 1.31 + cp -a $_pkg/usr/sbin $fs/usr 1.32 +}