wok-4.x diff rfkill/receipt @ rev 11439

up: putty 0.62
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rfkill/receipt	Fri Dec 16 15:42:01 2011 +0100
     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 +}