mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
thinkfan: update to 1.2.1.
This commit is contained in:
parent
76e529d284
commit
e7ecf4273a
1 changed files with 9 additions and 11 deletions
|
@ -1,25 +1,23 @@
|
||||||
# Template file for 'thinkfan'
|
# Template file for 'thinkfan'
|
||||||
pkgname=thinkfan
|
pkgname=thinkfan
|
||||||
version=0.9.3
|
version=1.2.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUSE_ATASMART:BOOL=ON"
|
configure_args="-DUSE_ATASMART:BOOL=ON"
|
||||||
makedepends="libatasmart-devel"
|
makedepends="libatasmart-devel yaml-cpp-devel"
|
||||||
short_desc="Simple fan control program"
|
short_desc="Simple fan control program"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://thinkfan.sourceforge.net/"
|
homepage="https://github.com/vmatare/thinkfan"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/vmatare/thinkfan/archive/${version}.tar.gz"
|
||||||
checksum=b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b
|
checksum=a03fc0ed5bee33a1576c631e327fdd10f89fd906c5a413a8b01bd73d3fd97d25
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
sed -i '/time.h/i#include <sys/types.h>' src/globaldefs.h
|
|
||||||
}
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/thinkfan
|
vbin build/thinkfan
|
||||||
vman src/thinkfan.1
|
vman src/thinkfan.1
|
||||||
vsconf examples/thinkfan.conf.simple
|
vman src/thinkfan.conf.5
|
||||||
vsconf examples/thinkfan.conf.complex
|
vman src/thinkfan.conf.legacy.5
|
||||||
|
vsconf examples/thinkfan.yaml
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue