wok view lm-sensors/receipt @ rev 22205
updated xorg-libXScrnSaver and xorg-libXScrnSaver-dev (1.2.2 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 14:09:40 2019 +0100 (2019-11-11) |
parents | 22fd45e82f56 |
children | a49eeb7de1ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="lm-sensors"
4 VERSION="3.5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux hardware monitoring."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hwmon.wiki.kernel.org/lm_sensors"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/V${VERSION//./-}.tar.gz"
14 SUGGESTED="rrdtool"
15 DEPENDS="linux-hwmon perl"
16 BUILD_DEPENDS="bison flex rrdtool-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|uname -m|echo i486|' Makefile
22 sed -i 's|/man|/share&|' Makefile
23 # no longer required with kernel 3.16.55
24 # patch -p0 < $stuff/linux-3.0.patch &&
26 make install \
27 PREFIX=/usr \
28 PROG_EXTRA=sensord \
29 DESTDIR=$DESTDIR 2>&1 | \
30 sed 's/d: No such file/d: no such file/'
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }