wok-6.x view lm-sensors/receipt @ rev 21028
updated hash-slinger (2.6 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 17:20:17 2019 +0100 (2019-03-10) |
parents | 3705d68ed8f3 |
children | 22fd45e82f56 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lm-sensors"
4 SOURCE="lm_sensors"
5 VERSION="3.3.3"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux hardware monitoring."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 SUGGESTED="rrdtool"
12 WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
13 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
15 DEPENDS="perl linux-hwmon"
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 patch -p0 < $stuff/linux-3.0.patch &&
24 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \
25 sed 's/d: No such file/d: no such file/'
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }