wok annotate xhtml2pdf/receipt @ rev 24351

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 10:14:47 2022 +0000 (2022-02-03)
parents 7390f8de9846
children 104a2a2e5484
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
pascal@21580 14 DEPENDS="python python-reportlab python-html5lib python-pypdf"
pascal@21580 15 BUILD_DEPENDS="$DEPENDS python-setuptools 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 }