wok view wireless_tools/receipt @ rev 19728
libt4k_common, openbox-imlib2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 07:56:36 2017 +0100 (2017-02-17) |
parents | 77be6b57303b |
children | 4a9972597002 |
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 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
22 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr
23 make PREFIX=$DESTDIR/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/bin
30 cp -a $install/usr/sbin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }
34 post_install()
35 {
36 [ -z "$quiet" ] && cat <<EOT
37 You may need to install linux-wireless to have wireless network drivers.
38 Or install tazndis to use Windows drivers.
39 EOT
40 }
42 # Rules to clean extras dirs or files
43 clean_wok()
44 {
45 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION}
46 }