summaryrefslogtreecommitdiff
blob: a778ea08562c9132a5b20fde7047a8e36aac80c2 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmi8k/wmi8k-1.2.ebuild,v 1.3 2004/06/24 23:10:26 agriffis Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="Dockapp for (some) Dell laptops that provides fans and temperature monitoring"
SRC_URI="http://dockapps.org/download.php/id/337/${PN}.${PV}.tar.gz http://www.stoffel.net/${PN}.${PV}.tar.gz"
HOMEPAGE="http://www.stoffel.net"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

ISUE=""
DEPEND="virtual/x11"

pkg_setup() {
	modprobe i8k &> /dev/null || test -f /proc/i8k || die "Lacking kernel support for i8k"
}

src_compile() {
	cd ${S}/wmi8k
	emake || die
}

src_install () {
	exeinto /usr/bin
	doexe wmi8k/wmi8k
	dodoc README* COPYING INSTALL CHANGES BUGS HINTS TODO
}