wok view wireless_tools/receipt @ rev 7519

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