wok-stable annotate xhtml2pdf/receipt @ rev 5783
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:41:34 2010 +0200 (2010-07-10) |
parents | 5f1aeeb805d8 |
children |
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@3412 | 12 DEPENDS="python 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 |