GARNAME = evolution-data-server
GARVERSION = 1.7.4
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = rhel3-support.diff

LIBDEPS = platform/gnome-vfs platform/libgnome desktop/libsoup

LIBDEPS += $(shell if test ! "`ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep mozilla-gtkmozembed.pc || ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep firefox-gtkmozembed.pc`" ; then echo bootstrap/firefox ; fi )

DESCRIPTION = evolution-data-server
MAINTAINER = Karsten Bräckelmann <guenther@rudersport.de>
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_ENV = PKG_CONFIG="$(bindir)/pkg-config"
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --with-openldap --enable-dot-locking=no

### uncomment CONFIGURE_ARGS to add gnome-keyring support
#CONFIGURE_ARGS += --enable-gnome-keyring

###  uncomment CONFIGURE_ARGS to add kerberos 5 support
###  --with-krb5=DIR , where DIR is the root of the install directory for kerberos 5
#CONFIGURE_ARGS += --with-krb5=/usr

include ../category.mk

CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--disable-debug,--enable-debug,')
