# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gnome-build/gnome-build-0.1.7.ebuild,v 1.7 2008/10/29 18:35:16 dang Exp $ inherit eutils gnome2 DESCRIPTION="The Gnome Build Framework" HOMEPAGE="http://www.gnome.org/" LICENSE="LGPL-2" SLOT="0" KEYWORDS="amd64 sparc x86" RDEPEND=">=dev-libs/glib-2 >=x11-libs/gtk+-2.4 >=dev-libs/gdl-0.7.6 >=dev-libs/libxml2-2.6 >=gnome-base/libglade-2.0 >=gnome-base/libgnome-2.4 >=gnome-base/gnome-vfs-2.4 >=gnome-base/libgnomeui-2.4 >=gnome-base/libbonoboui-2.4" DEPEND="${RDEPEND} sys-devel/gettext dev-util/pkgconfig >=dev-util/intltool-0.35" DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" MAKEOPTS="${MAKEOPTS} -j1" pkg_setup() { if ! built_with_use 'dev-libs/gdl' 'gnome' ; then eerror 'Please build gdl with the gnome useflag.' eerror 'echo "dev-libs/gdl gnome" >> /etc/portage/package.use ; emerge -1 gdl' die 'gdl built without gnome' fi }