wok-current view lm-sensors/receipt @ rev 23597
flam3, jpeg-dev, x11vnc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 09 09:01:09 2020 +0000 (2020-04-09) |
parents | cecc834ff61c |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lm-sensors"
4 VERSION="3.6.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 }