# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 DESCRIPTION="Evolution module for connecting to Microsoft Exchange" HOMEPAGE="http://www.novell.com/products/connector/" SRC_URI="http://ftp.ximian.com/pub/source/evolution/${PF}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug ldap doc" # Just reading from configure.in ... RDEPEND="net-mail/evolution virtual/glibc >=dev-libs/glib-2.0 >=gnome-base/ORBit2-2.3 >=gnome-base/gconf-2.0 >=net-libs/libsoup-2.0 >=gnome-base/libglade-2.0 >=gnome-base/libgnomeui-2.0 >=gnome-base/libbonobo-2.0 ldap? ( >=net-nds/openldap-2.0 )" DEPEND="$REDEPEND sys-devel/gcc sys-apps/coreutils sys-devel/make sys-devel/libtool sys-devel/gettext dev-util/pkgconfig doc? ( dev-util/gtk-doc )" src_compile() { myconf="" # LDAP? if use ldap; then myconf="$myconf --with-openldap=yes" else myconf="$myconf --with-openldap=no" fi # debugging? if use debug; then myconf="$myconf --with-e2k-debug" fi # Build; make sure DESTDIR is blank so items are sought in the right place gnome2_src_compile DESTDIR="" $myconf } src_install() { # Now we make sure that stuff is installed under the image tree gnome2_src_install DESTDIR="${D}" }