summaryrefslogtreecommitdiff
blob: d8057d46058919e20dca26babf523e274cbfe2ae (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 Technologies, Inc.
# 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.2 2004/05/12 07:44:17 aliz 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
}