wok-6.x view lm-sensors/receipt @ rev 24875
updated m4 (1.4.18 -> 1.4.19)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 10:07:36 2022 +0100 (2022-03-31) |
parents | 5ea0ce1cecc0 |
children |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/V\(.*\).tar.*|\1|;s|-|.|g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|uname -m|echo i486|' Makefile
28 sed -i 's|/man|/share&|' Makefile
29 # no longer required with kernel 3.16.55
30 # patch -p0 < $stuff/linux-3.0.patch &&
32 make install \
33 PREFIX=/usr \
34 PROG_EXTRA=sensord \
35 DESTDIR=$DESTDIR 2>&1 | \
36 sed 's/d: No such file/d: no such file/'
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }