#!/bin/sh
#
# Copyright 2005 Paul Blazejowski <paulb@blazebox.homeip.net>
# Available under the terms of the GNU GPL.
#

NAME="epiphany"
VERSION="1.8.2"
REVISION="1"
PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.bz2'
PKG_SOURCEMD5=''
PKG_PATCH[0]="bookmarks.patch"
PKG_PATCH[1]="schemas.patch"

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

export LDFLAGS="-Wl,--as-needed"
cflags
cxxflags
prepare
applypatch 0 1
applypatch 1 1
analyzesource
configure --disable-nautilus-view \
          --with-mozilla=firefox \
          --enable-dbus=yes \
          --enable-python=yes \
          --enable-compile-warnings=no
make -j2
makecheck
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup

