1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils systemd toolchain-funcs
8 DESCRIPTION="Dell Inspiron and Latitude utilities"
9 HOMEPAGE="https://launchpad.net/i8kutils"
10 SRC_URI="https://launchpad.net/i8kutils/trunk/${PV}/+download/${P/-/_}.tar.xz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="tk? ( dev-lang/tk:0 )"
23 DOCS=( README.i8kutils )
26 epatch "${FILESDIR}/${PN}-gcc5.patch"
27 epatch "${FILESDIR}/${P}-Makefile.patch"
37 newinitd "${FILESDIR}"/i8k.init-r1 i8k
38 newconfd "${FILESDIR}"/i8k.conf i8k
44 systemd_dounit "${FILESDIR}"/i8kmon.service
46 cat >> "${ED}"/etc/conf.d/i8k <<- EOF
48 # i8kmon disabled because the package was installed without USE=tk