wok-6.x view wireless_tools/receipt @ rev 1742
Add balance
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 20:13:58 2008 +0000 (2008-11-22) |
parents | a075ff895254 |
children | 53866bc265e8 |
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="linux-wireless"
9 TARBALL="${PACKAGE}.${VERSION}.tar.gz"
10 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
11 WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 src=${PACKAGE}.${VERSION}
17 # fix perms
18 chown -R root.root $src
19 cd $src
20 make PREFIX=$PWD/_pkg/usr
21 make PREFIX=$PWD/_pkg/usr install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 _pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg
29 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }
34 # Rules to clean extras dirs or files
35 clean_wok()
36 {
37 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
38 }