wok-next view xhtml2pdf/receipt @ rev 4094

Add: libcroco (CSS parsing and manipulation toolkit)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 17 16:17:09 2009 +0200 (2009-09-17)
parents 5f1aeeb805d8
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xhtml2pdf"
4 SOURCE="pisa"
5 VERSION="3.0.32"
6 CATEGORY="utilities"
7 SHORT_DESC="Converter for HTML/XHTML and CSS to PDF."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xhtml2pdf.com"
11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
12 DEPENDS="python python-reportlab python-html5lib python-pypdf setuptools"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }