# SliTaz package receipt.

PACKAGE="matchbox-panel-2"
VERSION="2111"
CATEGORY="x-window"
SHORT_DESC="Matchbox panel v2."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://matchbox-project.org/"
WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
BRANCH="$VERSION"

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

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib/matchbox-panel
	cp -a $install/usr/bin $fs/usr
	cp -a $install/usr/lib/matchbox-panel/*.so \
		$fs/usr/lib/matchbox-panel
	cp -a $install/usr/share $fs/usr
}