wok view wireless_tools/receipt @ rev 589
Add: get-google-earth MesaLib MesaLib-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 10:18:03 2008 +0000 (2008-04-16) |
parents | |
children | db65cf82fa6a |
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
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 strip -s $fs/usr/sbin/*
34 }
36 # Rules to clean extras dirs or files
37 clean_wok()
38 {
39 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
40 }