wok-4.x view lshw/receipt @ rev 12018
slitaz-i18n: dont include slitaz-tools po files (in tools pkgs) and add transmission
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 14:15:08 2012 +0100 (2012-03-06) |
parents | a203800d06c7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.15"
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 {
16 cd $src
17 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
18 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
19 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
20 src/core/scsi.cc src/core/burner.cc
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/share/lshw $fs/usr/share
31 }