summaryrefslogtreecommitdiff
blob: 3854b326e43a1e048f1993a1811d0f108767bb61 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/root-portal/root-portal-0.4.11.ebuild,v 1.3 2003/02/13 17:17:14 vapier Exp $

inherit debug

IUSE="gnome"

DESCRIPTION="A program to draw text and graphs in the root window"
HOMEPAGE="http://root-portal.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~x86 ~ppc"

# Build-time dependencies, such as
#    ssl? ( >=openssl-0.9.6b )
#    >=perl-5.6.1-r1
DEPEND="
	virtual/x11
	=x11-libs/gtk+-1.2*
		>=gnome-base/ORBit-0.5.7
		>=gnome-base/gnome-libs-1.4.0
		<gnome-base/gnome-panel-2
		>=dev-libs/libxml-1.8.16 "


# the tabulated section is only needed if Gnome is in USE, but their disable-gnome doesn't work for now.  

#RDEPEND=""

S="${WORKDIR}/${P}"

src_compile() {
	local myconf="--enable-debug --enable-test --enable-crash-debug"
	## Theres an upstream bug (filed) that disables this. when the next version is out, uncomment theese lines and it should work 

	
#	use gnome && myconf="${myconf} --enable-gnometext-builtin --enable-shell-builtin" 
# 	use gnome || myconf="${myconf} --without-gnome --without-gnome-libs --disable-gnometext-builtin --disable-shell-builtin"

	myconf="${myconf} --enable-gnometext --enable-shell"
	myconf="${myconf} --enable-console --enable-fifo --enable-filetail"
	myconf="${myconf} --enable-graph --enable-process-builtin --enable-modifier"
	myconf="${myconf} --enable-networkload --enable-remote --enable-roottext"
	myconf="${myconf} --enable-systemload --enable-consoledump"
	econf ${myconf}  || die "configure failure. please file a bugreport"
	
	emake || die "compile failure. please file a bugreport"
}

src_install() {
	einstall
	dodoc PACKAGING README NEWS ChangeLog BUGS AUTHORS COPYING INSTALL README.help UNINSTALL TODO
}