wok-next view lshw/receipt @ rev 21449
updated slock (1.1 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 07:51:56 2020 +0100 (2020-05-07) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lshw"
4 VERSION="B.02.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ezix.org/software/files/$TARBALL"
14 compile_rules() {
15 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
16 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
18 src/core/scsi.cc src/core/burner.cc
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 copy @std
26 }