31 lines
829 B
Bash
31 lines
829 B
Bash
# Template file for 'thermald'
|
|
pkgname=thermald
|
|
version=1.9
|
|
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=d8f40bce80fb8303a0c103d2531d0e4cc1caad0a8d027cd26a1b5b10cdaae4e3
|
|
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
|
|
}
|