lm_sensors: update to 3.5.0.

This commit is contained in:
Rasmus Thomsen 2019-01-03 18:58:09 +01:00 committed by maxice8
parent 2b48780fc4
commit 537de0ff41
2 changed files with 15 additions and 15 deletions

View file

@ -446,7 +446,7 @@ libQtDesignerComponents.so.4 qt-designer-libs-4.7.8_13
libQtDesigner.so.4 qt-designer-libs-4.7.8_13
libQtWebKit.so.4 qt-webkit-2.3.4_1
libsysfs.so.2 libsysfs-2.1.0_1
libsensors.so.4 libsensors-3.1.1_1
libsensors.so.5 libsensors-3.5.0_1
libcap-ng.so.0 libcap-ng-0.6.2_1
libphysfs.so.1 physfs-2.0.0_1
libSDL_ttf-2.0.so.0 SDL_ttf-2.0.9_1

View file

@ -1,35 +1,35 @@
# Template file for 'lm-sensors'
# Template file for 'lm_sensors'
pkgname=lm_sensors
version=3.4.0
revision=3
version=3.5.0
revision=1
wrksrc="${pkgname/_/-}-${version//./-}"
build_style=gnu-makefile
make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
make_install_args="${make_build_args}
make_install_args="$make_build_args
PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man"
conf_files="/etc/sensors3.conf
hostmakedepends="flex perl"
depends="perl"
conf_files="/etc/sensors3.conf"
depends="perl""
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/"
# Host is unreachable
# distfiles="http://dl.lm-sensors.org/lm-sensors/releases/${pkgname}-${version}.tar.bz2"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/${pkgname}/${pkgname}-${version}.tar.bz2/c03675ae9d43d60322110c679416901a/${pkgname}-${version}.tar.bz2"
checksum=e0579016081a262dd23eafe1d22b41ebde78921e73a1dcef71e05e424340061f
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
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
pre_build() {
sed -i prog/*/Module.mk \
-e "/^MODULE_DIR :=/i LDFLAGS := ${LDFLAGS}" \
-e 's;$(CC) $(EXLDFLAGS);$(CC) $(LDFLAGS) $(EXLDFLAGS);'
sed -i 's,asm/io.h,sys/io.h,g' prog/dump/*.c
}
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"