wok rev 21038

updated i2c-tools and i2c-tools-dev (3.1.1 -> 4.1)
author Hans-G?nter Theisgen
date Mon Mar 11 16:46:05 2019 +0100 (2019-03-11)
parents 766666b48ea1
children 7f35f94ea79f
files i2c-tools-dev/receipt i2c-tools/receipt
line diff
     1.1 --- a/i2c-tools-dev/receipt	Mon Mar 11 15:26:31 2019 +0100
     1.2 +++ b/i2c-tools-dev/receipt	Mon Mar 11 16:46:05 2019 +0100
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="i2c-tools-dev"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="4.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="I2C tools devel files"
    1.11 +SHORT_DESC="I2C tools - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
    1.15 -HOST_ARCH="i486 arm"
    1.16  
    1.17  WANTED="i2c-tools"
    1.18 +HOST_ARCH="i486 arm"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
     2.1 --- a/i2c-tools/receipt	Mon Mar 11 15:26:31 2019 +0100
     2.2 +++ b/i2c-tools/receipt	Mon Mar 11 16:46:05 2019 +0100
     2.3 @@ -1,27 +1,32 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="i2c-tools"
     2.7 -VERSION="3.1.1"
     2.8 +VERSION="4.1"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux"
    2.11 +SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.19 +WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
    2.20 +
    2.21  HOST_ARCH="i486 arm"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26  	sed -i s"#^prefix	=.*#prefix	= /usr#" Makefile &&
    2.27 -	make && make DESTDIR=${DESTDIR} install
    2.28 +
    2.29 +	make -j 1 &&
    2.30 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36  	mkdir -p $fs/usr
    2.37 -	cp -a $install/usr/bin $fs/usr
    2.38 -	cp -a $install/usr/sbin $fs/usr
    2.39 +
    2.40 +	cp -a $install/usr/bin	$fs/usr
    2.41 +	cp -a $install/usr/sbin	$fs/usr
    2.42  }