blob: 29cd24743a93108c27338ef50c218a5245a533c5 (
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
37
38
39
40
41
42
43
44
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils systemd
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 -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/thermal_daemon-${PV}
CDEPEND="dev-libs/dbus-glib
dev-libs/libxml2"
DEPEND="${CDEPEND}
sys-apps/sed"
RDEPEND="${CDEPEND}"
DOCS=( thermal_daemon_usage.txt README.txt )
PATCHES=(
"${FILESDIR}/${P}-terminate-r1.patch"
)
src_configure() {
local myeconfargs=(
--with-systemdsystemunitdir=$(systemd_get_unitdir)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
rm -rf "${D}"/etc/init || die
doinitd "${FILESDIR}"/thermald
}
|