wok-current annotate wireless_tools/receipt @ rev 15581
xorg-cf-files: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 11:11:23 2013 +0000 (2013-11-30) |
parents | be13f25e790b |
children | e1d1bc3c15d0 |
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" |
jozee@4976 | 13 TAGS="wireless" |
erjo@539 | 14 |
pascal@15363 | 15 DEPENDS="" |
pascal@15363 | 16 |
erjo@539 | 17 # Rules to configure and make the package. |
erjo@539 | 18 compile_rules() |
erjo@539 | 19 { |
erjo@539 | 20 cd $src |
pascal@15363 | 21 make PREFIX=$DESTDIR/usr |
pascal@15363 | 22 make PREFIX=$DESTDIR/usr install |
erjo@539 | 23 } |
erjo@539 | 24 |
erjo@539 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@539 | 26 genpkg_rules() |
erjo@539 | 27 { |
pankso@658 | 28 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications |
pascal@15363 | 29 cp -a $install/usr/sbin $fs/usr |
pascal@15363 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@539 | 31 } |
erjo@539 | 32 |
erjo@1894 | 33 post_install() |
erjo@1894 | 34 { |
erjo@1894 | 35 echo "You may need to install linux-wireless to have wireless network drivers." |
erjo@1894 | 36 echo "Or install tazndis to use Windows drivers." |
erjo@1894 | 37 } |
erjo@539 | 38 # Rules to clean extras dirs or files |
erjo@539 | 39 clean_wok() |
erjo@539 | 40 { |
erjo@539 | 41 rm -rf $WOK/$PACKAGE/${PACKAGE}.${VERSION} |
erjo@539 | 42 } |