31 lines
891 B
Bash
31 lines
891 B
Bash
# Template file for 'thermald'
|
|
pkgname=thermald
|
|
version=2.4.4
|
|
revision=1
|
|
_pkgname=thermal_daemon
|
|
archs="i686* x86_64*"
|
|
wrksrc="${_pkgname}-${version}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config glib-devel gtk-doc autoconf-archive"
|
|
makedepends="dbus-glib-devel libxml2-devel libglib-devel libgomp-devel upower-devel libevdev-devel"
|
|
short_desc="Linux Thermal Daemon program from 01.org"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/intel/${_pkgname}"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=54c069e2c1e7f02212aee3a0c0b66a684e56509114dcf583a6d1d56aaa370157
|
|
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
|
|
}
|