void-packages/srcpkgs/thermald/template
2019-03-02 16:55:54 -03:00

30 lines
829 B
Bash

# Template file for 'thermald'
pkgname=thermald
version=1.8
revision=1
_pkgname=thermal_daemon
wrksrc="${_pkgname}-${version}"
archs="i686* x86_64*"
build_style=gnu-configure
hostmakedepends="automake pkg-config glib-devel"
makedepends="dbus-glib-devel libxml2-devel libglib-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=662456eff5b7ee5a42e54b8a667d002d3a4dec5cacbddc5e1ab5ec94dab218c6
conf_files='/etc/thermald/*'
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dbus-glib-devel" # for dbus-binding-tool
fi
pre_configure() {
sed -i '/-Werror/d' Makefile.am
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vsv thermald
}