wok-6.x diff lshw/receipt @ rev 24956

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:35:24 2022 +0100 (2022-04-23)
parents bc2b9d9bed6f
children
line diff
     1.1 --- a/lshw/receipt	Sun Mar 06 21:04:14 2022 +0000
     1.2 +++ b/lshw/receipt	Sat Apr 23 16:35:24 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lshw"
     1.7 -VERSION="B.02.18"
     1.8 +VERSION="B.02.19.2"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Hardware Lister."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -23,21 +23,18 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $PACKAGE-$VERSION
    1.17  	sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
    1.18  	grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
    1.19  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.20  		src/core/scsi.cc src/core/burner.cc
    1.21  
    1.22 -	make -j 1 &&
    1.23 -	make DESTDIR=$DESTDIR install
    1.24 +	make &&
    1.25 +	make install DESTDIR=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/share
    1.32 -
    1.33 -	cp -a $install/usr/sbin		$fs/usr
    1.34 -	cp -a $install/usr/share/lshw	$fs/usr/share
    1.35 +	cook_copy_folders	sbin
    1.36 +	cook_copy_folders	lshw
    1.37  }