wok-next annotate wireless_tools/receipt @ rev 5367

Up: xorg-xf86-video-i740 (2.3.1)
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 29 10:16:12 2010 +0000 (2010-04-29)
parents 53866bc265e8
children be13f25e790b
rev   line source
erjo@539 1 # SliTaz package receipt.
erjo@539 2
erjo@539 3 PACKAGE="wireless_tools"
erjo@539 4 VERSION="29"
erjo@539 5 CATEGORY="system-tools"
erjo@539 6 SHORT_DESC="Wireless Tools for Linux"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@1894 8 DEPENDS=""
erjo@1894 9 SUGGESTED="linux-wireless"
erjo@539 10 TARBALL="${PACKAGE}.${VERSION}.tar.gz"
erjo@539 11 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
erjo@539 12 WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL"
jozee@4976 13 TAGS="wireless"
erjo@539 14
erjo@539 15 # Rules to configure and make the package.
erjo@539 16 compile_rules()
erjo@539 17 {
erjo@539 18 src=${PACKAGE}.${VERSION}
erjo@539 19 # fix perms
erjo@539 20 chown -R root.root $src
erjo@539 21 cd $src
erjo@539 22 make PREFIX=$PWD/_pkg/usr
erjo@539 23 make PREFIX=$PWD/_pkg/usr install
erjo@539 24 }
erjo@539 25
erjo@539 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@539 27 genpkg_rules()
erjo@539 28 {
erjo@539 29 _pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg
erjo@539 30
pankso@658 31 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
erjo@539 32 cp -a $_pkg/usr/sbin $fs/usr
erjo@539 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@539 34 }
erjo@539 35
erjo@1894 36 post_install()
erjo@1894 37 {
erjo@1894 38 echo "You may need to install linux-wireless to have wireless network drivers."
erjo@1894 39 echo "Or install tazndis to use Windows drivers."
erjo@1894 40 }
erjo@539 41 # Rules to clean extras dirs or files
erjo@539 42 clean_wok()
erjo@539 43 {
erjo@539 44 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
erjo@539 45 }