2010-01-12 16:21:14 +00:00
|
|
|
# Template file for 'lm-sensors'
|
|
|
|
pkgname=lm-sensors
|
2012-11-13 10:34:07 +00:00
|
|
|
version=3.3.3
|
|
|
|
revision=1
|
2010-01-12 16:21:14 +00:00
|
|
|
wrksrc="lm_sensors-${version}"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="which flex"
|
2012-11-13 10:34:07 +00:00
|
|
|
fulldepends="perl"
|
2010-01-12 16:21:14 +00:00
|
|
|
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"
|
2012-11-13 10:34:07 +00:00
|
|
|
homepage="http://www.lm-sensors.org/"
|
|
|
|
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
|
|
|
|
checksum=ecc91ba3d918e96fb7d5eb9acce978af803b130e0b33b08d5ea05b2bfca84955
|
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"
|
|
|
|
|
|
|
|
conf_files="/etc/sensors3.conf"
|
|
|
|
subpackages="libsensors libsensors-devel"
|
|
|
|
|
2011-11-22 06:57:24 +00:00
|
|
|
do_build() {
|
2013-03-02 11:14:26 +00:00
|
|
|
make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
|
2011-10-08 16:57:40 +00:00
|
|
|
}
|
|
|
|
|
2011-11-22 06:57:24 +00:00
|
|
|
do_install() {
|
2011-10-08 16:57:40 +00:00
|
|
|
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install
|
2012-11-13 10:34:07 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
2011-10-08 16:57:40 +00:00
|
|
|
}
|