wok diff lm-sensors/receipt @ 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 | 8dd8bab3f0ca |
children | cecc834ff61c |
line diff
1.1 --- a/lm-sensors/receipt Thu Jan 24 14:51:04 2019 +0100 1.2 +++ b/lm-sensors/receipt Mon Apr 22 07:29:56 2019 +0100 1.3 @@ -1,18 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lm-sensors" 1.7 -SOURCE="lm_sensors" 1.8 -VERSION="3.3.3" 1.9 +VERSION="3.5.0" 1.10 CATEGORY="system-tools" 1.11 SHORT_DESC="Linux hardware monitoring." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="https://hwmon.wiki.kernel.org/lm_sensors" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v${VERSION//./-}.tar.gz" 1.19 + 1.20 SUGGESTED="rrdtool" 1.21 -WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3" 1.22 -WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL" 1.23 - 1.24 -DEPENDS="perl linux-hwmon" 1.25 +DEPENDS="linux-hwmon perl" 1.26 BUILD_DEPENDS="bison flex rrdtool-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 @@ -20,17 +20,23 @@ 1.30 { 1.31 sed -i 's|uname -m|echo i486|' Makefile 1.32 sed -i 's|/man|/share&|' Makefile 1.33 - patch -p0 < $stuff/linux-3.0.patch && 1.34 - make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \ 1.35 - sed 's/d: No such file/d: no such file/' 1.36 +# no longer required with kernel 3.16.55 1.37 +# patch -p0 < $stuff/linux-3.0.patch && 1.38 + 1.39 + make install \ 1.40 + PREFIX=/usr \ 1.41 + PROG_EXTRA=sensord \ 1.42 + DESTDIR=$DESTDIR 2>&1 | \ 1.43 + sed 's/d: No such file/d: no such file/' 1.44 } 1.45 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 mkdir -p $fs/usr/lib 1.50 - cp -a $install/etc $fs 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/sbin $fs/usr 1.53 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.54 + 1.55 + cp -a $install/etc $fs 1.56 + cp -a $install/usr/bin $fs/usr 1.57 + cp -a $install/usr/sbin $fs/usr 1.58 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.59 }