wok-next annotate wireless_tools/receipt @ rev 20738

Up scons (3.0.1); add scons2 (2.5.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 21:13:51 2018 +0300 (2018-05-29)
parents c4e53a39395a
children cd7906120828
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"
erjo@539 10
al@19741 11 TARBALL="$PACKAGE.$VERSION.tar.gz"
al@19741 12 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL"
al@19741 13
al@19741 14 SPLIT="wireless_tools-dev"
pascal@15363 15
al@20516 16 compile_rules() {
pascal@19294 17 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
al@20516 18
al@19741 19 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr &&
pascal@15363 20 make PREFIX=$DESTDIR/usr install
erjo@539 21 }
erjo@539 22
al@20516 23 genpkg_rules() {
al@19741 24 case $PACKAGE in
al@20516 25 wireless_tools)
al@20516 26 copy @std
al@20516 27 SUGGESTED="linux-wireless"
al@20516 28 TAGS="wireless wifi network"
al@20516 29 ;;
al@19741 30 *-dev) copy @dev;;
al@19741 31 esac
erjo@539 32 }
erjo@539 33
al@20516 34 post_install_wireless_tools() {
al@20516 35 [ -n "$quiet" ] || cat <<EOT
al@20516 36
al@20516 37 .--------------------------------------------.
al@20516 38 | You may need to install linux-wireless |
al@20516 39 | to have wireless network drivers. |
al@20516 40 | Or install tazndis to use Windows drivers. |
al@20516 41 '--------------------------------------------'
al@18964 42 EOT
erjo@1894 43 }