# Template file for 'lm-sensors'
pkgname=lm-sensors
version=3.1.2
wrksrc="lm_sensors-${version}"
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
build_style=gnu_makefile
make_build_target="all"
make_install_args="PREFIX=/usr MANDIR=/usr/share/man"
short_desc="Utilities to read temperature/voltage/fan sensors"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a4f9553417f4c6592e87cbcbefb04d5c16710d58fa6fd02ca46a309f3b613d6e
long_desc="
 $pkgname provides most complete hardware health monitoring support for
 Linux, in the form of kernel drivers and a user-space library"

conf_files="/etc/sensors3.conf"
subpackages="libsensors libsensors-devel"

Add_dependency run glibc
Add_dependency run libsensors
Add_dependency full perl
Add_dependency build flex
