vp-build/srcpkgs/lm-sensors/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

36 lines
1.0 KiB
Plaintext

# Template file for 'lm-sensors'
pkgname=lm-sensors
version=3.3.1
revision=1
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=cfcc783945f7bfd5206e73f8f9d3f353b0dbf22153c0ef2587a8d7a7be7e628f
long_desc="
$pkgname provides most complete hardware health monitoring support for
Linux, in the form of kernel drivers and a user-space library"
systemd_services="lm_sensors.service"
conf_files="/etc/sensors3.conf"
subpackages="libsensors libsensors-devel"
Add_dependency run glibc
Add_dependency run libsensors
Add_dependency full perl ">=0"
Add_dependency build flex
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
}