wok-current rev 24651

updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author Hans-G?nter Theisgen
date Thu Mar 10 17:14:42 2022 +0100 (2022-03-10)
parents 99ef2c49dbf2
children 7ea2c4c71235
files i2c-tools-dev/receipt i2c-tools/description.txt i2c-tools/receipt
line diff
     1.1 --- a/i2c-tools-dev/receipt	Thu Mar 10 16:26:13 2022 +0100
     1.2 +++ b/i2c-tools-dev/receipt	Thu Mar 10 17:14:42 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="i2c-tools-dev"
     1.7 -VERSION="4.1"
     1.8 +VERSION="4.3"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="I2C tools - development files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,11 +9,12 @@
    1.13  WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
    1.14  
    1.15  WANTED="i2c-tools"
    1.16 +
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 +	cook_copy_folders	include
    1.25 +	cook_copy_files		*.*a
    1.26  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/i2c-tools/description.txt	Thu Mar 10 17:14:42 2022 +0100
     2.3 @@ -0,0 +1,12 @@
     2.4 +The i2c-tools package contains a heterogeneous set of I2C tools for Linux:
     2.5 +a bus probing tool, a chip dumper, register-level SMBus access helpers,
     2.6 +EEPROM decoding scripts, EEPROM programming tools, and a python module for
     2.7 +SMBus access.
     2.8 +All versions of Linux are supported, as long as I2C support is included in
     2.9 +the kernel.
    2.10 +
    2.11 +These tools used to be part of the lm-sensors package, but were later split
    2.12 +to a separate package. The rationale for that move is that not all hardware
    2.13 +monitoring chips are I2C devices, and not all I2C devices are hardware
    2.14 +monitoring chips, so having everything in a single package was confusing
    2.15 +and impractical.
     3.1 --- a/i2c-tools/receipt	Thu Mar 10 16:26:13 2022 +0100
     3.2 +++ b/i2c-tools/receipt	Thu Mar 10 17:14:42 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="i2c-tools"
     3.7 -VERSION="4.1"
     3.8 +VERSION="4.3"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -11,6 +11,8 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.14  WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
    3.15  
    3.16 +DEPENDS="perl"
    3.17 +
    3.18  HOST_ARCH="i486 arm"
    3.19  
    3.20  # What is the latest version available today?
    3.21 @@ -25,15 +27,16 @@
    3.22  {
    3.23  	sed -i s"#^prefix	=.*#prefix	= /usr#" Makefile &&
    3.24  
    3.25 -	make -j 1 &&
    3.26 -	make PREFIX=/usr DESTDIR=$DESTDIR install
    3.27 +	make &&
    3.28 +	make	install		\
    3.29 +		PREFIX=/usr	\
    3.30 +		DESTDIR=$DESTDIR
    3.31  }
    3.32  
    3.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.34  genpkg_rules()
    3.35  {
    3.36 -	mkdir -p $fs/usr
    3.37 -
    3.38 -	cp -a $install/usr/bin	$fs/usr
    3.39 -	cp -a $install/usr/sbin	$fs/usr
    3.40 +	cook_copy_folders	bin
    3.41 +	cook_copy_folders	sbin
    3.42 +	cook_copy_files		*.so*
    3.43  }