wok-next view wireless_tools/receipt @ rev 20259

xsave: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 18:34:13 2017 +0100 (2017-11-07)
parents 9278a60d6895
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://hewlettpackard.github.io/wireless-tools/Tools.html"
10 TAGS="wireless wifi network"
11 SUGGESTED="linux-wireless"
12 HOST_ARCH="i486 arm"
14 TARBALL="$PACKAGE.$VERSION.tar.gz"
15 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL"
17 SPLIT="wireless_tools-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
23 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr &&
24 make PREFIX=$DESTDIR/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 wireless_tools) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }
36 post_install_wireless_tools()
37 {
38 [ -n "$quiet" ] && return
39 cat <<EOT
40 You may need to install linux-wireless to have wireless network drivers.
41 Or install tazndis to use Windows drivers.
42 EOT
43 }