wok-6.x rev 21371

updated lm-sensors and lm-sensors-dev (3.3.3 -> 3.5.0)
author Hans-G?nter Theisgen
date Mon Apr 22 07:29:56 2019 +0100 (2019-04-22)
parents f3e5f6a3ef9a
children cecc834ff61c
files lm-sensors-dev/receipt lm-sensors/receipt
line diff
     1.1 --- a/lm-sensors-dev/receipt	Sun Apr 21 20:00:24 2019 +0200
     1.2 +++ b/lm-sensors-dev/receipt	Mon Apr 22 07:29:56 2019 +0100
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lm-sensors-dev"
     1.7 -WANTED="lm-sensors"
     1.8 -VERSION="3.3.3"
     1.9 +VERSION="3.5.0"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Linux hardware monitoring, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
    1.15 +WEB_SITE="https://hwmon.wiki.kernel.org/lm_sensors"
    1.16 +
    1.17 +WANTED="lm-sensors"
    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/lib
    1.23 +
    1.24  	cp -a $install/usr/include $fs/usr
    1.25  	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.26  }
     2.1 --- a/lm-sensors/receipt	Sun Apr 21 20:00:24 2019 +0200
     2.2 +++ b/lm-sensors/receipt	Mon Apr 22 07:29:56 2019 +0100
     2.3 @@ -1,18 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lm-sensors"
     2.7 -SOURCE="lm_sensors"
     2.8 -VERSION="3.3.3"
     2.9 +VERSION="3.5.0"
    2.10  CATEGORY="system-tools"
    2.11  SHORT_DESC="Linux hardware monitoring."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.15 +WEB_SITE="https://hwmon.wiki.kernel.org/lm_sensors"
    2.16 +
    2.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v${VERSION//./-}.tar.gz"
    2.19 +
    2.20  SUGGESTED="rrdtool"
    2.21 -WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
    2.22 -WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
    2.23 -
    2.24 -DEPENDS="perl linux-hwmon"
    2.25 +DEPENDS="linux-hwmon perl"
    2.26  BUILD_DEPENDS="bison flex rrdtool-dev"
    2.27  
    2.28  # Rules to configure and make the package.
    2.29 @@ -20,17 +20,23 @@
    2.30  {
    2.31  	sed -i 's|uname -m|echo i486|' Makefile
    2.32  	sed -i 's|/man|/share&|' Makefile
    2.33 -	patch -p0 < $stuff/linux-3.0.patch &&
    2.34 -	make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \
    2.35 -	sed 's/d: No such file/d: no such file/'
    2.36 +# no longer required with kernel 3.16.55
    2.37 +#	patch -p0 < $stuff/linux-3.0.patch &&
    2.38 +
    2.39 +	make	install			\
    2.40 +		PREFIX=/usr		\
    2.41 +		PROG_EXTRA=sensord	\
    2.42 +		DESTDIR=$DESTDIR 2>&1 | \
    2.43 +		sed 's/d: No such file/d: no such file/'
    2.44  }
    2.45  
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.47  genpkg_rules()
    2.48  {
    2.49  	mkdir -p $fs/usr/lib
    2.50 -	cp -a $install/etc $fs
    2.51 -	cp -a $install/usr/bin $fs/usr
    2.52 -	cp -a $install/usr/sbin $fs/usr
    2.53 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.54 +
    2.55 +	cp -a $install/etc		$fs
    2.56 +	cp -a $install/usr/bin		$fs/usr
    2.57 +	cp -a $install/usr/sbin		$fs/usr
    2.58 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.59  }