summaryrefslogtreecommitdiff
blob: 399b4b0c31984d9d123c54765f9724d03abaa11d (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.1.2_p3.ebuild,v 1.5 2006/01/22 12:14:11 nelchael Exp $

MY_P="wmacpiload-0.1.2-ac3"

IUSE=""
DESCRIPTION="Hacked version of WMACPILoad, a dockapp to monitor CPU temp and battery time on ACPI kernels."
HOMEPAGE="http://wmacpiload.tuxfamily.org/"
SRC_URI="http://perso.wanadoo.fr/acarriou/wmacpiload/${MY_P}.tar.bz2"

# it has a new homepage, but the src_uri is still from the old one. change this
# at the next version bump

RDEPEND="|| ( (
		x11-libs/libX11
		x11-libs/libXt
		x11-libs/libXext
		x11-libs/libXpm )
	virtual/x11 )"
DEPEND="${RDEPEND}
	|| ( x11-proto/xextproto virtual/x11 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~amd64"

S=${WORKDIR}/${MY_P}

src_install ()
{
	einstall || die "make install failed"

	mv ${D}/usr/bin/{wmacpiload,wmacpiload-ac}
	mv ${D}/usr/share/man/man1/{wmacpiload,wmacpiload-ac}.1

	dodoc NEWS TODO README THANKS AUTHORS
}