wok-current view wireless_tools/receipt @ rev 16023
wireless_tools: cross compile to ARM (I need USB wifi now my RPi boot SliTaz ARM like a charm :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 22:19:44 2014 +0100 (2014-03-06) |
parents | 2a21689b0af7 |
children | 77be6b57303b |
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 LICENSE="GPL2"
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 HOST_ARCH="i486 arm"
15 TAGS="wireless wifi network"
16 DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr
22 make PREFIX=$DESTDIR/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/bin
29 cp -a $install/usr/sbin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }
33 post_install()
34 {
35 echo "You may need to install linux-wireless to have wireless network drivers."
36 echo "Or install tazndis to use Windows drivers."
37 }
38 # Rules to clean extras dirs or files
39 clean_wok()
40 {
41 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
42 }