wok-4.x annotate xhtml2pdf/receipt @ rev 12220
Up: slitaz-base-files (4.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 05 13:57:05 2012 +0200 (2012-04-05) |
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 |