2015-06-12 20:58:37 +00:00
|
|
|
# Template file for 'thermald'
|
|
|
|
pkgname=thermald
|
2015-07-16 09:12:58 +00:00
|
|
|
version=1.4.3
|
2015-08-19 17:21:48 +00:00
|
|
|
revision=4
|
2015-06-12 20:58:37 +00:00
|
|
|
_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"
|
|
|
|
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
|
|
|
|
short_desc="The Linux Thermal Daemon program from 01.org"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/01org/${_pkgname}"
|
|
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
2015-07-16 09:12:58 +00:00
|
|
|
checksum=566595eb2c56679d463be5a65d612de90968248054122bb390d0bc902ba7b762
|
2015-06-12 20:58:37 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/thermald/thermal-conf.xml
|
|
|
|
/etc/thermald/thermal-cpu-cdev-order.xml"
|
|
|
|
|
2015-08-17 23:26:59 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then
|
|
|
|
build_pie=yes
|
|
|
|
fi
|
|
|
|
|
2015-06-12 20:58:37 +00:00
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -r ${DESTDIR}/etc/init
|
|
|
|
vsv thermald
|
|
|
|
}
|