# SliTaz package receipt.

PACKAGE="matchbox-desktop-2"
VERSION="2.0"
CATEGORY="x-window"
SHORT_DESC="Matchbox desktop v2."
MAINTAINER="pankso@slitaz.org"
SOURCE="matchbox-desktop"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://matchbox-project.org/"
WGET_URL="${WEB_SITE}sources/$SOURCE/2.0/$TARBALL"

DEPENDS="gtk+ dbus dbus-glib util-linux-ng-uuid"
BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-ng-uuid-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--disable-startup-notification \
		$CONFIGURE_ARGS &&
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $install/usr/bin $fs/usr
}