# $Header: $ IUSE="nls doc" ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome" ECVS_MODULE="anjuta" ECVS_CVS_OPTIONS="-dP -D${P//anjuta-*_pre/} 12:00 GMT" inherit cvs inherit gnome2 # inherit debug to enable debugging and do it after gnome2 so as not gnome2 notices debugging inherit debug libtool S=${WORKDIR}/${ECVS_MODULE} DESCRIPTION="A versatile Integrated Development Environment (IDE) for C and C++." HOMEPAGE="http://anjuta.sf.net/" SRC_URI="" SLOT="0" KEYWORDS="~x86 ~ppc" LICENSE="GPL-2" DEPEND="virtual/x11 >=gnome-base/gnome-2.2 >=gnome-base/gnome-common-1.2.4 >=dev-libs/glib-1.3.10 media-libs/gdk-pixbuf >=x11-libs/gtk+-1.3.10 >=gnome-base/ORBit2-2.4.0 >=gnome-base/libglade-2.0.0 >=gnome-base/libgnome-1.105 >=gnome-base/libgnomeui-1.105 >=gnome-base/libgnomeprint-1.0 >=gnome-base/libgnomeprintui-1.0 >=gnome-base/gnome-vfs-1.9.4 >=x11-libs/vte-0.8.0 >=x11-libs/libzvt-2.0.0 dev-libs/libxml2 >=app-text/scrollkeeper-0.1.4 dev-util/pkgconfig doc? ( app-text/docbook-sgml-utils ) dev-util/cvs" RDEPEND="dev-util/ctags sys-devel/gdb sys-apps/grep >=sys-libs/db-3.2.3 dev-util/indent" src_compile() { elibtoolize cd ${S} local myconf use nls || myconf="--disable-nls" local baseopts="--prefix=/usr\ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --datadir=/usr/share \ --sysconfdir=/etc \ --localstatedir=/var/lib" if [ ! -f ./configure ]; then ./autogen.sh ${baseopts} ${myconf} || die "autogen failed" fi econf ${myconf} --enable-final || die emake || die } src_install () { einstall \ anjutadocdir=${D}/usr/share/doc/${PF} || die dodoc AUTHORS COPYING ChangeLog FUTURE NEWS README THANKS TODO }