wok view wireless_tools/receipt @ rev 3181

Up: spandsp (0.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 26 10:54:55 2009 +0200 (2009-05-26)
parents 7f9bef673233
children 35ec83c60e58
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=${PACKAGE}.${VERSION}
18 # fix perms
19 chown -R root.root $src
20 cd $src
21 make PREFIX=$PWD/_pkg/usr
22 make PREFIX=$PWD/_pkg/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 _pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg
30 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }
35 post_install()
36 {
37 echo "You may need to install linux-wireless to have wireless network drivers."
38 echo "Or install tazndis to use Windows drivers."
39 }
40 # Rules to clean extras dirs or files
41 clean_wok()
42 {
43 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
44 }