void-packages/srcpkgs/thermald/template
Piotr Wójcik 9b47e8e6fa thermald: update to 1.7.1.
Closes #13405.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-19 08:46:07 +02:00

28 lines
806 B
Bash

# Template file for 'thermald'
pkgname=thermald
version=1.7.1
revision=1
_pkgname=thermal_daemon
wrksrc="${_pkgname}-${version}"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
short_desc="The Linux Thermal Daemon program from 01.org"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="https://github.com/01org/${_pkgname}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=c4465d9312304b879908289e2e9da7417e88151c1529dff42acb8e3fb6aa4f47
conf_files="
/etc/thermald/thermal-conf.xml
/etc/thermald/thermal-cpu-cdev-order.xml"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
rm -r ${DESTDIR}/etc/init
vsv thermald
}