# SliTaz package receipt.

PACKAGE="xfmpc"
VERSION="0.2.0"
CATEGORY="x-window"
SHORT_DESC="MPD client for Xfce."
MAINTAINER="erjo@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://goodies.xfce.org/projects/applications/xfmpc"
WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="libxfcegui4 libxfce4util libmpd startup-notification"
BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libmpd-dev intltool \
 startup-notification-dev util-linux-ng-uuid-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$DESTDIR install
}

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