# SliTaz package receipt.
PACKAGE="xhtml2pdf"
SOURCE="pisa"
VERSION="3.0.32"
CATEGORY="utilities"
SHORT_DESC="Converter for HTML/XHTML and CSS to PDF."
MAINTAINER="claudinei@slitaz.org"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.xhtml2pdf.com"
WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
DEPENDS="python python-reportlab python-html5lib python-pypdf setuptools"
BUILD_DEPENDS="$DEPENDS python-dev"
# 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 $fs
}