wok annotate lshw/receipt @ rev 609
Up: slitaz-boot-scripts (2.0) - Experimental wifi and adapted for the new udev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 17:05:46 2008 +0200 (2008-04-18) |
parents | |
children | a075ff895254 |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="lshw" |
erjo@506 | 4 VERSION="B.02.12.01" |
erjo@506 | 5 CATEGORY="system-tools" |
erjo@506 | 6 SHORT_DESC="Hardware Lister" |
erjo@506 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@506 | 8 DEPENDS="" |
erjo@506 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@506 | 10 WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter" |
erjo@506 | 11 WGET_URL="http://ezix.org/software/files/$TARBALL" |
erjo@506 | 12 |
erjo@506 | 13 # Rules to configure and make the package. |
erjo@506 | 14 compile_rules() |
erjo@506 | 15 { |
erjo@506 | 16 cd $src |
erjo@506 | 17 make |
erjo@506 | 18 make DESTDIR=$PWD/_pkg install |
erjo@506 | 19 } |
erjo@506 | 20 |
erjo@506 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 22 genpkg_rules() |
erjo@506 | 23 { |
erjo@506 | 24 mkdir -p $fs/usr/share |
erjo@506 | 25 cp -a $_pkg/usr/sbin $fs/usr |
erjo@506 | 26 cp -a $_pkg/usr/share/lshw $fs/usr/share |
erjo@506 | 27 |
erjo@506 | 28 strip -s $fs/usr/sbin/* |
erjo@506 | 29 } |
erjo@506 | 30 |