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

NAME="gnome-panel"
VERSION="3.6.0"
REVISION="1"

PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.xz'

PKG_PATCH[0]='clock-config.patch'
PKG_PATCH[1]='default-applets.patch'
PKG_PATCH[2]='gnome-desktop_configure.patch'
PKG_PATCH[3]='panel-multiscreen.patch'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare
#applypatch 0 1
#applypatch 1 1
#applypatch 2 0
#applypatch 3 1
analyzesource
configure --enable-network-manager
make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
