2010-01-12 16:21:14 +00:00
|
|
|
# Template file for 'lm-sensors'
|
|
|
|
pkgname=lm-sensors
|
2011-10-08 16:57:40 +00:00
|
|
|
version=3.3.1
|
2011-11-10 11:22:16 +00:00
|
|
|
revision=2
|
2010-01-12 16:21:14 +00:00
|
|
|
wrksrc="lm_sensors-${version}"
|
2011-10-08 16:57:40 +00:00
|
|
|
homepage="http://www.lm-sensors.org/"
|
2010-01-12 16:21:14 +00:00
|
|
|
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>"
|
2011-10-08 16:57:40 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
checksum=cfcc783945f7bfd5206e73f8f9d3f353b0dbf22153c0ef2587a8d7a7be7e628f
|
2010-01-12 16:21:14 +00:00
|
|
|
long_desc="
|
|
|
|
$pkgname provides most complete hardware health monitoring support for
|
|
|
|
Linux, in the form of kernel drivers and a user-space library"
|
|
|
|
|
2011-11-10 11:22:16 +00:00
|
|
|
systemd_services="lm_sensors.service on"
|
2010-01-12 16:21:14 +00:00
|
|
|
conf_files="/etc/sensors3.conf"
|
|
|
|
subpackages="libsensors libsensors-devel"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libsensors
|
2010-11-01 09:39:41 +00:00
|
|
|
Add_dependency full perl ">=0"
|
2010-01-12 16:21:14 +00:00
|
|
|
Add_dependency build flex
|
2011-10-08 16:57:40 +00:00
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
make PREFIX=/usr ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install
|
|
|
|
# install systemd unit.
|
|
|
|
vinstall prog/init/lm_sensors.service 644 lib/systemd/system
|
|
|
|
}
|