wok-next annotate xhtml2pdf/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | eb8067417980 |
children | 6c73b944e8dd |
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" |
pascal@15579 | 9 LICENSE="GPL2" |
claudinei@3253 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3253 | 11 WEB_SITE="http://www.xhtml2pdf.com" |
claudinei@3253 | 12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@15579 | 13 |
claudinei@3412 | 14 DEPENDS="python python-reportlab python-html5lib python-pypdf setuptools" |
claudinei@3396 | 15 BUILD_DEPENDS="$DEPENDS python-dev" |
claudinei@3253 | 16 |
claudinei@3253 | 17 # Rules to configure and make the package. |
claudinei@3253 | 18 compile_rules() |
claudinei@3253 | 19 { |
pascal@15579 | 20 python setup.py install --root=$DESTDIR |
claudinei@3253 | 21 } |
claudinei@3253 | 22 |
claudinei@3253 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3253 | 24 genpkg_rules() |
claudinei@3253 | 25 { |
claudinei@3253 | 26 mkdir -p $fs/usr |
pascal@15579 | 27 cp -a $install/usr $fs |
claudinei@3253 | 28 } |