From c874dec175cd9b5313ebde4f8070527a60f7e8f5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 8 Oct 2011 18:57:40 +0200 Subject: [PATCH] lm-sensors: update to 3.3.1. --- srcpkgs/lm-sensors/template | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/srcpkgs/lm-sensors/template b/srcpkgs/lm-sensors/template index dfab6fff1b0..11db7d6492c 100644 --- a/srcpkgs/lm-sensors/template +++ b/srcpkgs/lm-sensors/template @@ -1,14 +1,14 @@ # Template file for 'lm-sensors' pkgname=lm-sensors -version=3.3.0 +version=3.3.1 wrksrc="lm_sensors-${version}" +homepage="http://www.lm-sensors.org/" 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" +build_style=custom-install short_desc="Utilities to read temperature/voltage/fan sensors" maintainer="Juan RP " -checksum=145c222e4611cedb2d16efb2700164f599297b2124c4dc30af4fc89c417cc20f +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" @@ -20,3 +20,15 @@ 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 +}