wok-current annotate lshw/receipt @ rev 22647
updated distcc and distccmon-gui (3.1 -> 3.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 14 10:56:35 2020 +0100 (2020-01-14) |
parents | 6e8b1bcb30e2 |
children | ede1d184d5c5 |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="lshw" |
Hans-G?nter@21378 | 4 VERSION="B.02.18" |
erjo@506 | 5 CATEGORY="system-tools" |
Hans-G?nter@21378 | 6 SHORT_DESC="Hardware Lister." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
Hans-G?nter@21378 | 9 WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter" |
Hans-G?nter@21378 | 10 |
erjo@506 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 12 WGET_URL="https://ezix.org/software/files/$TARBALL" |
erjo@506 | 13 |
pascal@15379 | 14 DEPENDS="gcc-lib-base" |
pascal@15379 | 15 |
erjo@506 | 16 # Rules to configure and make the package. |
erjo@506 | 17 compile_rules() |
erjo@506 | 18 { |
Hans-G?nter@21378 | 19 cd $PACKAGE-$VERSION |
pascal@5732 | 20 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc |
pascal@6113 | 21 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc || |
pascal@6113 | 22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6113 | 23 src/core/scsi.cc src/core/burner.cc |
Hans-G?nter@21378 | 24 |
Hans-G?nter@21378 | 25 make -j 1 && |
pascal@15379 | 26 make DESTDIR=$DESTDIR install |
erjo@506 | 27 } |
erjo@506 | 28 |
erjo@506 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 30 genpkg_rules() |
erjo@506 | 31 { |
erjo@506 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@21378 | 33 |
Hans-G?nter@21378 | 34 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21378 | 35 cp -a $install/usr/share/lshw $fs/usr/share |
erjo@506 | 36 } |