# SliTaz package receipt.

PACKAGE="gnome-desktop"
VERSION="2.28.0"
CATEGORY="x-window"
SHORT_DESC="GNOME Desktop"
MAINTAINER="erjo@slitaz.org"
DEPENDS="GConf gtk+ startup-notification"
BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev intltool"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnome.org"
WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc/gnome \
		--localstatedir=/var/lib \
		--enable-gtk-doc-html=no \
		--enable-gtk-doc=no \
		--disable-scrollkeeper \
		--disable-static \
		--with-gnome-distributor="SliTaz GNU/Linux" \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib $fs/usr/share
	#cp -a $_pkg/etc $fs
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
	#cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
}