# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/bonobo/bonobo-1.0.22.ebuild,v 1.25 2006/07/05 05:39:38 vapier Exp $ inherit gnome.org libtool eutils multilib DESCRIPTION="A set of language and system independent CORBA interfaces" HOMEPAGE="http://www.gnome.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86" IUSE="nls" RDEPEND=">=gnome-base/oaf-0.6.8 =gnome-base/orbit-0* >=gnome-base/gnome-print-0.30 >=media-libs/gdk-pixbuf-0.6" DEPEND="${RDEPEND} dev-lang/perl nls? ( sys-devel/gettext >=dev-util/intltool-0.11 )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc4.patch sed -i \ -e "s:libdir=@prefix@/lib:libdir=@prefix@/$(get_libdir):" \ libefs/libefs.pc.in || die # libtoolize to fix relink bug elibtoolize } src_compile() { econf $(use_enable nls) || die emake -j1 || die # make -j 4 didn't work } src_install() { einstall || die dodoc AUTHORS ChangeLog README NEWS TODO }