wok-6.x view wireless_tools/receipt @ rev 787
syslinux-extra: add sdi.c32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 15:04:56 2008 +0000 (2008-05-13) |
parents | db65cf82fa6a |
children | 7f9bef673233 |
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 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 }