wok-6.x diff wireless_tools/receipt @ rev 539

Add: reiserfsprogs, wireless_tools. Up: transmission to 1.11
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Apr 11 02:05:05 2008 +0200 (2008-04-11)
parents
children db65cf82fa6a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wireless_tools/receipt	Fri Apr 11 02:05:05 2008 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wireless_tools"
     1.7 +VERSION="29"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Wireless Tools for Linux"
    1.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.11 +DEPENDS=""
    1.12 +TARBALL="${PACKAGE}.${VERSION}.tar.gz"
    1.13 +WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
    1.14 +WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	src=${PACKAGE}.${VERSION}
    1.20 +	# fix perms
    1.21 +	chown -R root.root $src
    1.22 +	cd $src
    1.23 +	make PREFIX=$PWD/_pkg/usr
    1.24 +	make PREFIX=$PWD/_pkg/usr install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	_pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg
    1.31 +	
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/sbin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 +	
    1.36 +	strip -s $fs/usr/sbin/*
    1.37 +}
    1.38 +
    1.39 +# Rules to clean extras dirs or files
    1.40 +clean_wok()
    1.41 +{
    1.42 +	rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
    1.43 +}
    1.44 +
    1.45 +
    1.46 +