wok-6.x view wireless_tools/receipt @ rev 9118
glibc-dev: ensure necessary packages are built
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 13:14:44 2011 +0100 (2011-03-05) |
parents | 35ec83c60e58 |
children | 2a21689b0af7 |
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"
13 TAGS="wireless"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make PREFIX=$PWD/_pkg/usr
20 make PREFIX=$PWD/_pkg/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }
31 post_install()
32 {
33 echo "You may need to install linux-wireless to have wireless network drivers."
34 echo "Or install tazndis to use Windows drivers."
35 }
36 # Rules to clean extras dirs or files
37 clean_wok()
38 {
39 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
40 }