lm-sensors: do not install systemd unit, doesn't work without changes.

This commit is contained in:
Juan RP 2011-11-22 07:57:24 +01:00
parent 3e3f405aeb
commit a2310b12bd
1 changed files with 3 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'lm-sensors'
pkgname=lm-sensors
version=3.3.1
revision=3
revision=4
wrksrc="lm_sensors-${version}"
homepage="http://www.lm-sensors.org/"
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
@ -13,21 +13,16 @@ 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 on"
conf_files="/etc/sensors3.conf"
subpackages="libsensors libsensors-devel"
Add_dependency full perl ">=0"
Add_dependency build flex
do_build()
{
do_build() {
make PREFIX=/usr ${makejobs}
}
do_install()
{
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
}