wok-current annotate xhtml2pdf/receipt @ rev 13821
[A-e]*/*.desktop files: sort (for easy reading), add translations (from web + my ru), verify (using desktop-file-validate), fix. To be continued...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 07 01:07:44 2013 +0000 (2013-01-07) |
parents | 5f1aeeb805d8 |
children | eb8067417980 |
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 |