wok view lshw/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | 964f5d384827 |
children | 02bbaa9d12ba |
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 {
18 cd $src
19 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
20 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
22 src/core/scsi.cc src/core/burner.cc
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/share/lshw $fs/usr/share
34 strip -s $fs/usr/sbin/*
35 }