1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit systemd toolchain-funcs
8 DESCRIPTION="Dell Inspiron and Latitude utilities"
9 HOMEPAGE="http://packages.debian.org/sid/i8kutils"
10 SRC_URI="mirror://debian/pool/main/i/${PN}/${P/-/_}.tar.gz"
14 KEYWORDS="-* amd64 x86"
17 DEPEND="tk? ( dev-lang/tk )"
20 DOCS=( README.i8kutils )
26 -e 's: -g : $(LDFLAGS) :g' \
33 dobin i8kbuttons i8kctl
34 doman i8kbuttons.1 i8kctl.1
35 dosym /usr/bin/i8kctl /usr/bin/i8kfan
37 use examples && dodoc -r examples
39 newinitd "${FILESDIR}"/i8k.init-r1 i8k
40 newconfd "${FILESDIR}"/i8k.conf i8k
46 systemd_dounit "${FILESDIR}"/i8kmon.service
48 cat >> "${ED}"/etc/conf.d/i8k <<- EOF
49 # i8kmon disabled because the package was installed without USE=tk