wok annotate xhtml2pdf/receipt @ rev 16471
gstreamer-1.0: update i?86 bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 06:52:14 2014 +0000 (2014-04-22) |
parents | 983e91358a71 |
children | 7390f8de9846 |
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 { |
claudinei@3253 | 20 cd $src |
pascal@15579 | 21 python setup.py install --root=$DESTDIR |
claudinei@3253 | 22 } |
claudinei@3253 | 23 |
claudinei@3253 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3253 | 25 genpkg_rules() |
claudinei@3253 | 26 { |
claudinei@3253 | 27 mkdir -p $fs/usr |
pascal@15579 | 28 cp -a $install/usr $fs |
claudinei@3253 | 29 } |
claudinei@3253 | 30 |