# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils gnome2 MY_PF=${PF%%_*} DESCRIPTION="A versatile IDE for GNOME" HOMEPAGE="http://www.anjuta.org" SRC_URI="mirror://sourceforge/anjuta/${MY_PF}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc graphviz subversion" RDEPEND=">=dev-libs/glib-2.4.0 >=x11-libs/gtk+-2.4.0 >=media-libs/gdk-pixbuf-0.22.0 >=gnome-base/orbit-2.6.0 >=gnome-base/libglade-2.3.0 >=gnome-base/libgnome-2.6.0 >=gnome-base/libgnomeui-2.6.0 >=gnome-base/libgnomeprint-2.4.0 >=gnome-base/libgnomeprintui-2.4.0 >=gnome-base/gnome-vfs-2.6.0 >=gnome-base/gconf-2.6.0 >=x11-libs/vte-0.7.0 >=dev-libs/libxml2-2.4.23 >=x11-libs/pango-1.1.1 >=dev-libs/gdl-0.5.0 >=dev-libs/libxslt >=sys-devel/autogen-5.6.4 >=dev-util/devhelp-0.9.0 >=dev-util/gnome-build-0.1.1 >=dev-libs/libpcre-5.0 subversion? ( >=dev-util/subversion-1.0 dev-libs/apr net-misc/neon) graphviz? ( >=media-gfx/graphviz-2.2.1 )" DEPEND="${RDEPEND} dev-lang/perl dev-perl/XML-Parser sys-devel/gettext dev-util/pkgconfig" # Make sure that it is not build in parallel MAKEOPTS="${MAKEOPTS} -j1" S=${WORKDIR}/${MY_PF} src_unpack() { unpack ${A} cd "${S}" if use !subversion ; then epatch ${FILESDIR}/anjuta-configure.in.patch fi } src_compile() { if use !subversion ; then ./autogen.sh myconf="${myconf} --disable-subversion" fi ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man ${myconf} || die "./configure failed" emake || die "emake failed" } pkg_postinst() { gnome2_pkg_postinst if use doc; then dodoc ${S}/manuals dodoc ${S}/doc fi einfo "Some project templates may require additional development" einfo "libraries to function correctly. It goes beyond the scope" einfo "of this ebuild to provide them." }