wok-6.x view lm-sensors/receipt @ rev 21404

Up hiawatha (10.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 11:00:59 2019 +0200 (2019-04-23)
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 }