blob: 894d510a218382384a0226dcd35ae360accdd490 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.17-r1.ebuild,v 1.4 2005/01/01 14:46:23 eradicator Exp $
DESCRIPTION="Dell Inspiron and Latitude utilities"
HOMEPAGE="http://people.debian.org/~dz/i8k/"
SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="tcltk"
DEPEND="virtual/libc
virtual/x11
>=dev-lang/tk-8.3.3"
src_compile() {
make all || die
}
src_install() {
dobin i8kbuttons i8kctl i8kfan i8kmon
use tcltk && dobin i8kmon
doman i8kbuttons.1 i8kctl.1
use tcltk && doman i8kmon.1
use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan
dodoc README.i8kutils
dodoc i8kmon.conf
dodoc Configure.help.i8k
docinto examples/
dodoc examples/*
insinto /etc/init.d
newins ${FILESDIR}/i8k.init i8k
fperms 755 /etc/init.d/i8k
insinto /etc/conf.d
newins ${FILESDIR}/i8k.conf i8k
}
|