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