mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
parent
b338e04101
commit
b9888eee82
1 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lm_sensors'
|
# Template file for 'lm_sensors'
|
||||||
pkgname=lm_sensors
|
pkgname=lm_sensors
|
||||||
version=3.5.0
|
version=3.6.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname/_/-}-${version//./-}"
|
wrksrc="${pkgname/_/-}-${version//./-}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
|
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"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://github.com/lm-sensors/lm-sensors"
|
homepage="https://github.com/lm-sensors/lm-sensors"
|
||||||
distfiles="https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}.tar.gz"
|
distfiles="https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}.tar.gz"
|
||||||
checksum=f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
|
checksum=0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197
|
||||||
|
|
||||||
conf_files="/etc/sensors3.conf"
|
conf_files="/etc/sensors3.conf"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i prog/*/Module.mk \
|
vsed -e 's,CC :=,CC ?=,' -i Makefile
|
||||||
-e "/^MODULE_DIR :=/i LDFLAGS := ${LDFLAGS}" \
|
|
||||||
-e 's;$(CC) $(EXLDFLAGS);$(CC) $(LDFLAGS) $(EXLDFLAGS);'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue