parent
f5ec099487
commit
ac5ab51d73
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . conf
|
||||
[ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1
|
||||
exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol}
|
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'lm_sensors'
|
||||
pkgname=lm_sensors
|
||||
version=3.5.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname/_/-}-${version//./-}"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
|
||||
make_install_args="$make_build_args
|
||||
PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man"
|
||||
conf_files="/etc/sensors3.conf"
|
||||
make_install_args="${make_build_args} PREFIX=/usr SBINDIR=/usr/bin
|
||||
MANDIR=/usr/share/man"
|
||||
hostmakedepends="flex perl"
|
||||
depends="perl"
|
||||
short_desc="Utilities to read temperature/voltage/fan sensors"
|
||||
|
@ -17,12 +16,18 @@ homepage="https://github.com/lm-sensors/lm-sensors"
|
|||
distfiles="https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}.tar.gz"
|
||||
checksum=f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
|
||||
|
||||
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);'
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv fancontrol
|
||||
}
|
||||
|
||||
libsensors_package() {
|
||||
short_desc="Library to read temperature/voltage/fan sensors"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in New Issue