#!/bin/sh
#
# Available under the terms of the GNU GPL.
#

NAME="tomboy"
VERSION="1.1.0"
REVISION="1"
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
cxxflags
prepare
analyzesource
configure --enable-evolution=yes --enable-gnome=yes --enable-osx=no --enable-windows=no --enable-dbus=yes
make
makecheck
makeinstall install-strip
spewdo "cp $PKG_BUILDROOT/Tomboy/Plugins/FixedWidth.dll $PKG_STAGEROOT/usr/lib$LIBSUFFIX/tomboy/Plugins/"
spewdo "cp $PKG_BUILDROOT/Tomboy/Plugins/NoteOfTheDay.dll $PKG_STAGEROOT/usr/lib$LIBSUFFIX/tomboy/Plugins/"
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
