wok diff lshw/receipt @ rev 22814
openvas-libraries: patch for Bison 3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 01 18:47:18 2020 +0100 (2020-02-01) |
parents | 6e8b1bcb30e2 |
children | ede1d184d5c5 |
line diff
1.1 --- a/lshw/receipt Thu Jan 24 11:33:03 2019 +0100 1.2 +++ b/lshw/receipt Sat Feb 01 18:47:18 2020 +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 -