From 537de0ff413980b03f987329022a99c3178e29a0 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 3 Jan 2019 18:58:09 +0100 Subject: [PATCH] lm_sensors: update to 3.5.0. --- common/shlibs | 2 +- srcpkgs/lm_sensors/template | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/common/shlibs b/common/shlibs index a4422727745..b61db1bc15f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/lm_sensors/template b/srcpkgs/lm_sensors/template index 05362cda649..148e7b8ff2b 100644 --- a/srcpkgs/lm_sensors/template +++ b/srcpkgs/lm_sensors/template @@ -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 " -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 " +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"