#!/bin/sh
#
# Copyright 2004-2007 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#

NAME="evolution"
VERSION="2.28.0"
REVISION="2"
PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.bz2'

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

cflags
prepare

analyzesource
configure --enable-nss=yes \
	--enable-smime=yes \
	--with-krb5=$PKG_PREFIX \
	--with-krb4=$PKG_PREFIX \
	--with-openldap \
	--enable-pilot-conduits=yes \
	--enable-plugins=all \
	--enable-smime=yes \
	--enable-exchange=yes \
	--enable-python=yes \
	--enable-mono=yes \
	--with-sub-version=\" Dropline GNOME\" \

make
makeinstall install-strip

#spewdo "cd $PKG_STAGEROOT$PKG_PREFIX/bin"
#spewdo "ln -sf evolution-$VER_MAJ.$VER_MIN evolution"

tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
