wok-next annotate lm-sensors/receipt @ rev 21543

updated ccid (1.4.30 -> 1.4.32)
author Hans-G?nter Theisgen
date Sun Jun 21 17:20:25 2020 +0100 (2020-06-21)
parents d5aab818505e
children
rev   line source
al@20018 1 # SliTaz package receipt v2.
pascal@8855 2
pascal@8855 3 PACKAGE="lm-sensors"
al@20018 4 VERSION="3.4.0"
pascal@8855 5 CATEGORY="system-tools"
al@20018 6 SHORT_DESC="Linux hardware monitoring"
pascal@8855 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@21041 9 WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/lm_sensors.html"
pascal@8855 11
al@20018 12 TARBALL="lm_sensors-$VERSION.tar.bz2"
al@20018 13 WGET_URL="https://ftp.gwdg.de/pub/linux/misc/lm-sensors/$TARBALL"
pankso@13615 14
al@20018 15 BUILD_DEPENDS="rrdtool-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20018 17
al@20018 18 compile_rules() {
al@20018 19 sed -i 's|/etc/sysconfig|/etc/conf.d|' prog/detect/sensors-detect
al@20018 20
al@20018 21 make \
al@20018 22 PREFIX=/usr \
al@20018 23 BUILD_STATIC_LIB=0 \
al@20018 24 MANDIR=/usr/share/man \
al@20018 25 DESTDIR=$install \
al@20018 26 PROG_EXTRA=sensord \
al@20018 27 install || return 1
al@20018 28
al@20018 29 cook_pick_docs README INSTALL doc/*
al@20018 30
al@20018 31 install -D -m755 "$stuff/healthd" "$install/usr/bin/healthd"
al@20018 32 install -D -m644 "$stuff/healthd.conf" "$install/etc/healthd.conf"
al@20018 33 install -D -m644 "$stuff/sensord.conf" "$install/etc/conf.d/sensord"
pascal@8855 34 }
pascal@8855 35
al@20018 36 genpkg_rules() {
al@20018 37 case $PACKAGE in
al@20018 38 lm-sensors)
al@20018 39 copy @std
al@20018 40 DEPENDS="bash linux-hwmon perl rrdtool"
al@20018 41 SUGGESTED="rrdtool"
al@20018 42 ;;
al@20018 43 *-dev)
al@20018 44 copy @dev
al@20018 45 ;;
al@20018 46 esac
pascal@8855 47 }