wok-next view wireless_tools/receipt @ rev 19849
Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 28 19:54:13 2017 +0300 (2017-08-28) |
parents | a8e75e9bae6c |
children | 7ae7ca392d9e |
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 [ -z "$quiet" ] && cat <<EOT
39 You may need to install linux-wireless to have wireless network drivers.
40 Or install tazndis to use Windows drivers.
41 EOT
42 }