wok-next view lshw/receipt @ rev 3499
tazdev: Add command gen-chroot and clean-chroot + tiny fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 19 02:43:44 2009 +0200 (2009-06-19) |
parents | 7f41c348fb5d |
children | 47b90723baee |
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.12.01"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter"
11 WGET_URL="http://ezix.org/software/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share
25 cp -a $_pkg/usr/sbin $fs/usr
26 cp -a $_pkg/usr/share/lshw $fs/usr/share
28 strip -s $fs/usr/sbin/*
29 }