wok-current view lshw/receipt @ rev 5944
Up catalyst (10.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 11:41:52 2010 +0200 (2010-08-03) |
parents | 8752c40cc534 |
children | 964f5d384827 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gcc-lib-base"
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 {
18 cd $src
19 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/sbin $fs/usr
29 cp -a $_pkg/usr/share/lshw $fs/usr/share
31 strip -s $fs/usr/sbin/*
32 }