wok-current annotate wireless_tools/receipt @ rev 658
wireless_tools: Add wifibox and desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 23:09:06 2008 +0200 (2008-04-22) |
parents | 47e6882f05da |
children | a075ff895254 |
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@539 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@539 | 8 DEPENDS="" |
erjo@539 | 9 TARBALL="${PACKAGE}.${VERSION}.tar.gz" |
erjo@539 | 10 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" |
erjo@539 | 11 WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL" |
erjo@539 | 12 |
erjo@539 | 13 # Rules to configure and make the package. |
erjo@539 | 14 compile_rules() |
erjo@539 | 15 { |
erjo@539 | 16 src=${PACKAGE}.${VERSION} |
erjo@539 | 17 # fix perms |
erjo@539 | 18 chown -R root.root $src |
erjo@539 | 19 cd $src |
erjo@539 | 20 make PREFIX=$PWD/_pkg/usr |
erjo@539 | 21 make PREFIX=$PWD/_pkg/usr install |
erjo@539 | 22 } |
erjo@539 | 23 |
erjo@539 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@539 | 25 genpkg_rules() |
erjo@539 | 26 { |
erjo@539 | 27 _pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg |
erjo@539 | 28 |
pankso@658 | 29 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications |
erjo@539 | 30 cp -a $_pkg/usr/sbin $fs/usr |
erjo@539 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@539 | 32 |
pankso@658 | 33 # Wifibox |
pankso@658 | 34 cp stuff/wifibox $fs/usr/bin |
pankso@658 | 35 cp stuff/wifibox.desktop $fs/usr/share/applications |
erjo@539 | 36 } |
erjo@539 | 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 } |
erjo@539 | 43 |
erjo@539 | 44 |
erjo@539 | 45 |