wok-current annotate wireless_tools/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | ee53899c6189 |
children |
rev | line source |
---|---|
erjo@539 | 1 # SliTaz package receipt. |
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" |
erjo@1894 | 9 SUGGESTED="linux-wireless" |
erjo@539 | 10 TARBALL="${PACKAGE}.${VERSION}.tar.gz" |
pascal@20679 | 11 WEB_SITE="https://hewlettpackard.github.io/wireless-tools/Tools.html" |
pascal@24976 | 12 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL" |
pankso@16023 | 13 HOST_ARCH="i486 arm" |
erjo@539 | 14 |
pankso@16023 | 15 TAGS="wireless wifi network" |
pascal@15363 | 16 DEPENDS="" |
pascal@15363 | 17 |
pascal@24071 | 18 current_version() |
pascal@24071 | 19 { |
pascal@24071 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24071 | 21 sed '/tar.gz/!d;s|.*"wireless_tools.||;s|.tar.*||;q' |
pascal@24071 | 22 } |
pascal@24071 | 23 |
erjo@539 | 24 # Rules to configure and make the package. |
erjo@539 | 25 compile_rules() |
erjo@539 | 26 { |
pascal@19294 | 27 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile |
pankso@16023 | 28 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr |
pascal@15363 | 29 make PREFIX=$DESTDIR/usr install |
erjo@539 | 30 } |
erjo@539 | 31 |
erjo@539 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@539 | 33 genpkg_rules() |
erjo@539 | 34 { |
pankso@16023 | 35 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@15363 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@15363 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@539 | 38 } |
erjo@539 | 39 |
erjo@1894 | 40 post_install() |
erjo@1894 | 41 { |
al@18964 | 42 [ -z "$quiet" ] && cat <<EOT |
al@18964 | 43 You may need to install linux-wireless to have wireless network drivers. |
al@18964 | 44 Or install tazndis to use Windows drivers. |
al@18964 | 45 EOT |
pascal@19785 | 46 true |
erjo@1894 | 47 } |
al@18964 | 48 |
erjo@539 | 49 # Rules to clean extras dirs or files |
erjo@539 | 50 clean_wok() |
erjo@539 | 51 { |
erjo@539 | 52 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION} |
erjo@539 | 53 } |