34 lines
959 B
Bash
34 lines
959 B
Bash
# Template file for 'lm-sensors'
|
|
pkgname=lm_sensors
|
|
replaces="lm-sensors>=0"
|
|
version=3.3.5
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_install_args="PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man"
|
|
hostmakedepends="flex perl"
|
|
depends="perl"
|
|
conf_files="/etc/sensors3.conf"
|
|
short_desc="Utilities to read temperature/voltage/fan sensors"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://www.lm-sensors.org/"
|
|
distfiles="http://dl.lm-sensors.org/lm-sensors/releases/$pkgname-$version.tar.bz2"
|
|
checksum=5dae6a665e1150159a93743c4ff1943a7efe02cd9d3bb12c4805e7d7adcf4fcf
|
|
|
|
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+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|