thinkfan: update to 0.9.3.

This commit is contained in:
Christian Neukirchen 2016-05-05 16:36:02 +02:00
parent a2fc05db0d
commit f28010521e

View file

@ -1,9 +1,7 @@
# Template file for 'thinkfan' # Template file for 'thinkfan'
pkgname=thinkfan pkgname=thinkfan
version=0.9.2 version=0.9.3
revision=4 revision=1
wrksrc=${pkgname}-${version}
create_wrksrc=yes
build_style=cmake build_style=cmake
configure_args="-DUSE_ATASMART:BOOL=ON" configure_args="-DUSE_ATASMART:BOOL=ON"
hostmakedepends="cmake" hostmakedepends="cmake"
@ -13,18 +11,16 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="http://thinkfan.sourceforge.net/" homepage="http://thinkfan.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 checksum=b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b
post_extract() { post_extract() {
sed -i '/time.h/i#include <sys/types.h>' globaldefs.h sed -i '/time.h/i#include <sys/types.h>' src/globaldefs.h
} }
do_install() { do_install() {
vbin build/thinkfan vbin build/thinkfan
vman thinkfan.1 vman src/thinkfan.1
vsconf examples/thinkfan.conf.simple vsconf examples/thinkfan.conf.simple
vsconf examples/thinkfan.conf.complex vsconf examples/thinkfan.conf.complex
vdoc README
vdoc NEWS
vmkdir usr/lib/modprobe.d vmkdir usr/lib/modprobe.d
vinstall ${FILESDIR}/thinkpad_acpi.conf 644 usr/lib/modprobe.d vinstall ${FILESDIR}/thinkpad_acpi.conf 644 usr/lib/modprobe.d