# SliTaz package receipt

PACKAGE="parcellite"
VERSION="0.9.3"
CATEGORY="utilities"
SHORT_DESC="Lightweight GTK+ clipboard manager"
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="gtk+-dev intltool"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://parcellite.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{	
	cd $src
	./configure \
		--prefix=/usr \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

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