lm_sensors: update to 3.6.0.

Closes: #19188
This commit is contained in:
Francesco Circhetta 2020-09-16 04:52:34 +02:00 committed by Andrew J. Hesford
parent b338e04101
commit b9888eee82

View file

@ -1,7 +1,7 @@
# Template file for 'lm_sensors'
pkgname=lm_sensors
version=3.5.0
revision=2
version=3.6.0
revision=1
wrksrc="${pkgname/_/-}-${version//./-}"
build_style=gnu-makefile
make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
@ -14,14 +14,12 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/lm-sensors/lm-sensors"
distfiles="https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}.tar.gz"
checksum=f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
checksum=0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197
conf_files="/etc/sensors3.conf"
pre_build() {
sed -i prog/*/Module.mk \
-e "/^MODULE_DIR :=/i LDFLAGS := ${LDFLAGS}" \
-e 's;$(CC) $(EXLDFLAGS);$(CC) $(LDFLAGS) $(EXLDFLAGS);'
vsed -e 's,CC :=,CC ?=,' -i Makefile
}
post_install() {