summaryrefslogtreecommitdiff
path: root/sys-power/intel-thermald/intel-thermald-1.2.01.ebuild
blob: 6bb1a79a3135bc8c263520b76f6f173610ce58f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit systemd autotools

DESCRIPTION="Thermal daemon for Intel architectures"
HOMEPAGE="https://01.org/linux-thermal-daemon"
SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> thermal_daemon-${PV}.tar.gz"

LICENSE="GPL2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""
S=${WORKDIR}/thermal_daemon-${PV}

DEPEND="dev-libs/dbus-glib
	dev-libs/libxml2"

src_prepare() {
	eautoreconf
}

src_configure() {
	econf --with-systemdsystemunitdir=$(systemd_get_unitdir)
}

src_install() {
	default

   	dobin tools/thermald_set_pref.sh
	doinitd "${FILESDIR}/thermald"
}