wok-next annotate xhtml2pdf/receipt @ rev 3396
xhtml2pdf: fix depends
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 00:22:04 2009 +0000 (2009-06-12) |
parents | 95f4cf5799db |
children | 983e91358a71 |
rev | line source |
---|---|
claudinei@3253 | 1 # SliTaz package receipt. |
claudinei@3253 | 2 |
claudinei@3253 | 3 PACKAGE="xhtml2pdf" |
claudinei@3253 | 4 SOURCE="pisa" |
claudinei@3253 | 5 VERSION="3.0.32" |
claudinei@3253 | 6 CATEGORY="utilities" |
claudinei@3253 | 7 SHORT_DESC="Converter for HTML/XHTML and CSS to PDF." |
claudinei@3253 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3253 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3253 | 10 WEB_SITE="http://www.xhtml2pdf.com" |
claudinei@3253 | 11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
claudinei@3396 | 12 DEPENDS="python reportlab python-html5lib python-pypdf setuptools" |
claudinei@3396 | 13 BUILD_DEPENDS="$DEPENDS python-dev" |
claudinei@3253 | 14 |
claudinei@3253 | 15 # Rules to configure and make the package. |
claudinei@3253 | 16 compile_rules() |
claudinei@3253 | 17 { |
claudinei@3253 | 18 cd $src |
claudinei@3253 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3253 | 20 } |
claudinei@3253 | 21 |
claudinei@3253 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3253 | 23 genpkg_rules() |
claudinei@3253 | 24 { |
claudinei@3253 | 25 mkdir -p $fs/usr |
claudinei@3253 | 26 cp -a $_pkg/usr $fs |
claudinei@3253 | 27 } |
claudinei@3253 | 28 |