# SliTaz package receipt.

PACKAGE="moonshiner"
VERSION="1.0"
CATEGORY="office"
SHORT_DESC="GUI for Ghostscript's PostScript-to-PDF converter."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
DEPENDS="python pygtk ghostscript"
BUILD_DEPENDS="python-dev pygtk-dev"
WEB_SITE="http://moonshiner.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py install --root=$PWD/_pkg
}

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