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

NAME="epiphany"
VERSION="2.14.1.1"
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

# Disabled for now because configure
# is fails to compile XPCOM test.
#export LDFLAGS="-Wl,--as-needed"
cflags
cxxflags
prepare
applypatch 0 1
applypatch 1 1
analyzesource
configure --enable-network-manager
make -j2
makecheck
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup

