lm_sensors: fix for musl.

This commit is contained in:
Christian Neukirchen 2015-05-16 17:12:33 +02:00
parent a8e1027743
commit 58eda512c8

View file

@ -2,7 +2,7 @@
pkgname=lm_sensors pkgname=lm_sensors
replaces="lm-sensors>=0" replaces="lm-sensors>=0"
version=3.3.5 version=3.3.5
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man" make_install_args="PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man"
hostmakedepends="flex perl" hostmakedepends="flex perl"
@ -15,6 +15,9 @@ homepage="http://www.lm-sensors.org/"
distfiles="http://dl.lm-sensors.org/lm-sensors/releases/$pkgname-$version.tar.bz2" distfiles="http://dl.lm-sensors.org/lm-sensors/releases/$pkgname-$version.tar.bz2"
checksum=5dae6a665e1150159a93743c4ff1943a7efe02cd9d3bb12c4805e7d7adcf4fcf checksum=5dae6a665e1150159a93743c4ff1943a7efe02cd9d3bb12c4805e7d7adcf4fcf
post_extract() {
sed -i 's,asm/io.h,sys/io.h,g' prog/dump/*.c
}
libsensors_package() { libsensors_package() {
short_desc="Library to read temperature/voltage/fan sensors" short_desc="Library to read temperature/voltage/fan sensors"
pkg_install() { pkg_install() {