wok view lshw/receipt @ rev 5759

Up: PyQt-x11-gpl (4.7.3) Fix: it now confirms license
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jul 04 15:44:26 2010 -0400 (2010-07-04)
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 }