wok-next annotate wireless_tools/receipt @ rev 19741

Many random packages update/upgrade.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 05 16:48:55 2017 +0300 (2017-06-05)
parents a8e75e9bae6c
children 7ae7ca392d9e
rev   line source
al@19741 1 # SliTaz package receipt v2.
erjo@539 2
erjo@539 3 PACKAGE="wireless_tools"
erjo@539 4 VERSION="29"
erjo@539 5 CATEGORY="system-tools"
erjo@539 6 SHORT_DESC="Wireless Tools for Linux"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15363 8 LICENSE="GPL2"
al@19741 9 WEB_SITE="https://hewlettpackard.github.io/wireless-tools/Tools.html"
al@19741 10 TAGS="wireless wifi network"
erjo@1894 11 SUGGESTED="linux-wireless"
pankso@16023 12 HOST_ARCH="i486 arm"
erjo@539 13
al@19741 14 TARBALL="$PACKAGE.$VERSION.tar.gz"
al@19741 15 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL"
al@19741 16
al@19741 17 SPLIT="wireless_tools-dev"
pascal@15363 18
erjo@539 19 # Rules to configure and make the package.
erjo@539 20 compile_rules()
erjo@539 21 {
pascal@19294 22 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
al@19741 23 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr &&
pascal@15363 24 make PREFIX=$DESTDIR/usr install
erjo@539 25 }
erjo@539 26
erjo@539 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@539 28 genpkg_rules()
erjo@539 29 {
al@19741 30 case $PACKAGE in
al@19741 31 wireless_tools) copy @std;;
al@19741 32 *-dev) copy @dev;;
al@19741 33 esac
erjo@539 34 }
erjo@539 35
al@19741 36 post_install_wireless_tools()
erjo@1894 37 {
al@18964 38 [ -z "$quiet" ] && cat <<EOT
al@18964 39 You may need to install linux-wireless to have wireless network drivers.
al@18964 40 Or install tazndis to use Windows drivers.
al@18964 41 EOT
erjo@1894 42 }