wok rev 21378
updated lshw (B.02.15 -> B.02.18)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 10:08:28 2019 +0100 (2019-04-22) |
parents | c5bb6b8ba595 |
children | fb25b46e9063 |
files | lshw/receipt |
line diff
1.1 --- a/lshw/receipt Mon Apr 22 10:58:42 2019 +0200 1.2 +++ b/lshw/receipt Mon Apr 22 10:08:28 2019 +0100 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lshw" 1.7 -VERSION="B.02.15" 1.8 +VERSION="B.02.18" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Hardware Lister" 1.11 +SHORT_DESC="Hardware Lister." 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter" 1.18 WGET_URL="https://ezix.org/software/files/$TARBALL" 1.19 1.20 DEPENDS="gcc-lib-base" 1.21 @@ -15,12 +16,13 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 + cd $PACKAGE-$VERSION 1.27 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc 1.28 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc || 1.29 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.30 src/core/scsi.cc src/core/burner.cc 1.31 - make && 1.32 + 1.33 + make -j 1 && 1.34 make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 @@ -28,7 +30,7 @@ 1.38 genpkg_rules() 1.39 { 1.40 mkdir -p $fs/usr/share 1.41 - cp -a $install/usr/sbin $fs/usr 1.42 - cp -a $install/usr/share/lshw $fs/usr/share 1.43 + 1.44 + cp -a $install/usr/sbin $fs/usr 1.45 + cp -a $install/usr/share/lshw $fs/usr/share 1.46 } 1.47 -