2010-01-12 16:21:14 +00:00
|
|
|
# Template file for 'lm-sensors'
|
2014-11-14 14:57:41 +00:00
|
|
|
pkgname=lm_sensors
|
|
|
|
replaces="lm-sensors>=0"
|
|
|
|
version=3.3.5
|
|
|
|
revision=1
|
2014-11-14 14:48:36 +00:00
|
|
|
build_style=gnu-makefile
|
2014-11-14 14:57:41 +00:00
|
|
|
make_install_args="PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man"
|
2014-11-14 14:48:36 +00:00
|
|
|
hostmakedepends="flex perl"
|
2014-07-17 16:12:51 +00:00
|
|
|
depends="perl"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/sensors3.conf"
|
2010-01-12 16:21:14 +00:00
|
|
|
short_desc="Utilities to read temperature/voltage/fan sensors"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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/"
|
2014-11-14 14:57:41 +00:00
|
|
|
distfiles="http://dl.lm-sensors.org/lm-sensors/releases/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=5dae6a665e1150159a93743c4ff1943a7efe02cd9d3bb12c4805e7d7adcf4fcf
|
2010-01-12 16:21:14 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libsensors_package() {
|
|
|
|
short_desc="Library to read temperature/voltage/fan sensors"
|
|
|
|
pkg_install() {
|
2014-02-21 10:51:16 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libsensors-devel_package() {
|
2014-02-21 10:51:16 +00:00
|
|
|
depends="libsensors>=${version}_${revision}"
|
2014-11-14 14:57:41 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 10:51:16 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|