wok-current annotate wireless_tools/receipt @ rev 20540
linld: _fastcall calls (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 29 12:11:44 2018 +0100 (2018-11-29) |
parents | a8e75e9bae6c |
children | 6135577f4d08 |
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" |
erjo@539 | 11 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" |
erjo@539 | 12 WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$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 |
erjo@539 | 18 # Rules to configure and make the package. |
erjo@539 | 19 compile_rules() |
erjo@539 | 20 { |
pascal@19294 | 21 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile |
pankso@16023 | 22 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr |
pascal@15363 | 23 make PREFIX=$DESTDIR/usr install |
erjo@539 | 24 } |
erjo@539 | 25 |
erjo@539 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@539 | 27 genpkg_rules() |
erjo@539 | 28 { |
pankso@16023 | 29 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@15363 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@15363 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@539 | 32 } |
erjo@539 | 33 |
erjo@1894 | 34 post_install() |
erjo@1894 | 35 { |
al@18964 | 36 [ -z "$quiet" ] && cat <<EOT |
al@18964 | 37 You may need to install linux-wireless to have wireless network drivers. |
al@18964 | 38 Or install tazndis to use Windows drivers. |
al@18964 | 39 EOT |
pascal@19785 | 40 true |
erjo@1894 | 41 } |
al@18964 | 42 |
erjo@539 | 43 # Rules to clean extras dirs or files |
erjo@539 | 44 clean_wok() |
erjo@539 | 45 { |
erjo@539 | 46 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION} |
erjo@539 | 47 } |