summaryrefslogtreecommitdiff
blob: d892cd50d52be1898742bdd3ac3b5172ed837c17 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/i8kutils/i8kutils-1.17.ebuild,v 1.5 2003/02/24 22:34:59 dragon Exp $

S=${WORKDIR}/${P}/
DESCRIPTION="Dell Inspiron and Latitude utilities"
SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2"
HOMEPAGE="http://people.debian.org/~dz/i8k/"
DEPEND="virtual/glibc
	virtual/x11
	>=dev-lang/tk-8.3.3"
LICENSE="GPL-2"
SLOT="0"
IUSE="tcltk"
KEYWORDS="~x86 -mips"


src_compile() {
	local target="all"
	make ${target} || 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 COPYING
	dodoc i8kmon.conf
	dodoc Configure.help.i8k
	docinto examples/
	dodoc examples/*
}