wok-current view lm-sensors/receipt @ rev 23295
updated perl-cgi (3.63 -> 4.46)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 16:15:51 2020 +0100 (2020-03-29) |
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 }