wok-next view lm-sensors/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lm-sensors"
4 VERSION="3.4.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux hardware monitoring"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/lm_sensors.html"
12 TARBALL="lm_sensors-$VERSION.tar.bz2"
13 WGET_URL="https://ftp.gwdg.de/pub/linux/misc/lm-sensors/$TARBALL"
15 BUILD_DEPENDS="rrdtool-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's|/etc/sysconfig|/etc/conf.d|' prog/detect/sensors-detect
21 make \
22 PREFIX=/usr \
23 BUILD_STATIC_LIB=0 \
24 MANDIR=/usr/share/man \
25 DESTDIR=$install \
26 PROG_EXTRA=sensord \
27 install || return 1
29 cook_pick_docs README INSTALL doc/*
31 install -D -m755 "$stuff/healthd" "$install/usr/bin/healthd"
32 install -D -m644 "$stuff/healthd.conf" "$install/etc/healthd.conf"
33 install -D -m644 "$stuff/sensord.conf" "$install/etc/conf.d/sensord"
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 lm-sensors)
39 copy @std
40 DEPENDS="bash linux-hwmon perl rrdtool"
41 SUGGESTED="rrdtool"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }