blob: e1599181712f1da52b4b5a17e5e044c73ef0e3c4 (
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
40
41
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/lavaps/lavaps-2.7-r1.ebuild,v 1.4 2005/11/03 07:44:38 halcy0n Exp $
inherit eutils
DESCRIPTION="Lava Lamp graphical representation of running processes."
SRC_URI="http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/${P}.tar.gz"
HOMEPAGE="http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
IUSE="gtk"
DEPEND=">=dev-lang/tk-8.3.3
virtual/x11
gtk? ( x11-libs/gtk+ )
!gtk? ( dev-lang/tcl )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-this-makes-it-compile.patch
}
src_compile() {
local myconf="--with-x"
use gtk && myconf="${myconf} --with-gtk" \
|| myconf="${myconf} --with-tcltk"
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
doman lavaps.1
dodoc README
dohtml doc/*.html
}
|