wok-next annotate 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 |
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@19858 | 38 [ -n "$quiet" ] && return |
al@19858 | 39 cat <<EOT |
al@18964 | 40 You may need to install linux-wireless to have wireless network drivers. |
al@18964 | 41 Or install tazndis to use Windows drivers. |
al@18964 | 42 EOT |
erjo@1894 | 43 } |