29 lines
866 B
Bash
29 lines
866 B
Bash
# Template file for 'thermald'
|
|
pkgname=thermald
|
|
version=2.5.1
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
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/thermal_daemon"
|
|
distfiles="https://github.com/intel/thermal_daemon/archive/v${version}.tar.gz"
|
|
checksum=75c165df45b3d09c904d314c8c19789158e9538f46e3d2b606457dc631eb3af5
|
|
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
|
|
}
|