# 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 =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 }