void-packages/srcpkgs/lm-sensors/template

48 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'lm-sensors'
pkgname=lm-sensors
2013-05-29 10:55:51 +02:00
version=3.3.4
revision=1
wrksrc="lm_sensors-${version}"
hostmakedepends="which flex perl"
short_desc="Utilities to read temperature/voltage/fan sensors"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-08 18:57:40 +02:00
license="GPL-2, LGPL-2.1"
2012-11-13 11:34:07 +01:00
homepage="http://www.lm-sensors.org/"
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
2013-05-29 10:55:51 +02:00
checksum=b4608610cb5de4b24e3fe1ae357712e8633a8a929bbb42df5eecc4ccee6ba76d
long_desc="
$pkgname provides most complete hardware health monitoring support for
Linux, in the form of kernel drivers and a user-space library"
do_build() {
2013-03-02 12:14:26 +01:00
make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
2011-10-08 18:57:40 +02:00
}
do_install() {
2011-10-08 18:57:40 +02:00
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install
}
libsensors_package() {
short_desc="Library to read temperature/voltage/fan sensors"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
libsensors-devel_package() {
depends="libsensors-${version}_${revision}"
short_desc="lm-sensors development kit"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}
lm-sensors_package() {
conf_files="/etc/sensors3.conf"
pkg_install() {
2013-05-29 10:55:51 +02:00
vmove all
}
2011-10-08 18:57:40 +02:00
}