wok view wireless_tools/receipt @ rev 690
lxpanel: declare /usr/bin/lxsession-logout
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 25 21:58:06 2008 +0000 (2008-04-25) |
parents | 47e6882f05da |
children | a075ff895254 |
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 <erjo@slitaz.org>"
8 DEPENDS=""
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
33 # Wifibox
34 cp stuff/wifibox $fs/usr/bin
35 cp stuff/wifibox.desktop $fs/usr/share/applications
36 }
38 # Rules to clean extras dirs or files
39 clean_wok()
40 {
41 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
42 }