wok-6.x diff i2c-tools/receipt @ rev 24873

updated lynis (3.0.6 -> 3.0.7)
author Hans-G?nter Theisgen
date Thu Mar 31 07:46:22 2022 +0100 (2022-03-31)
parents 71360a13cd94
children
line diff
     1.1 --- a/i2c-tools/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/i2c-tools/receipt	Thu Mar 31 07:46:22 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="i2c-tools"
     1.7 -VERSION="4.1"
     1.8 +VERSION="4.3"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -11,6 +11,8 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
    1.15  
    1.16 +DEPENDS="perl"
    1.17 +
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20  # What is the latest version available today?
    1.21 @@ -25,15 +27,16 @@
    1.22  {
    1.23  	sed -i s"#^prefix	=.*#prefix	= /usr#" Makefile &&
    1.24  
    1.25 -	make -j 1 &&
    1.26 -	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.27 +	make &&
    1.28 +	make	install		\
    1.29 +		PREFIX=/usr	\
    1.30 +		DESTDIR=$DESTDIR
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr
    1.37 -
    1.38 -	cp -a $install/usr/bin	$fs/usr
    1.39 -	cp -a $install/usr/sbin	$fs/usr
    1.40 +	cook_copy_folders	bin
    1.41 +	cook_copy_folders	sbin
    1.42 +	cook_copy_files		*.so*
    1.43  }