wok-current diff i2c-tools/receipt @ rev 23117

updated libusb and libusb-dev (1.0.22 -> 1.0.23)
author Hans-G?nter Theisgen
date Thu Mar 12 17:06:21 2020 +0100 (2020-03-12)
parents e3f377fbc5f0
children 71360a13cd94
line diff
     1.1 --- a/i2c-tools/receipt	Thu Jan 24 17:15:36 2019 +0100
     1.2 +++ b/i2c-tools/receipt	Thu Mar 12 17:06:21 2020 +0100
     1.3 @@ -1,27 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="i2c-tools"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="4.1"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux"
    1.11 +SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux."
    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 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
    1.20 +
    1.21  HOST_ARCH="i486 arm"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	sed -i s"#^prefix	=.*#prefix	= /usr#" Makefile &&
    1.27 -	make && make DESTDIR=${DESTDIR} install
    1.28 +
    1.29 +	make -j 1 &&
    1.30 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    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 -	cp -a $install/usr/bin $fs/usr
    1.38 -	cp -a $install/usr/sbin $fs/usr
    1.39 +
    1.40 +	cp -a $install/usr/bin	$fs/usr
    1.41 +	cp -a $install/usr/sbin	$fs/usr
    1.42  }