# Template file for 'lm-sensors'
pkgname=lm-sensors
version=3.3.2
wrksrc="lm_sensors-${version}"
homepage="http://www.lm-sensors.org/"
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
short_desc="Utilities to read temperature/voltage/fan sensors"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
checksum=f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1
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 full perl	">=0"
Add_dependency build which
Add_dependency build flex

do_build() {
	make PREFIX=/usr ${makejobs}
}

do_install() {
	make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install
}