wok-6.x annotate xhtml2pdf/receipt @ rev 25376
updated tzdata (2019c -> 2022a)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 10:43:02 2022 +0100 (2022-07-30) |
parents | 104a2a2e5484 |
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" |
pascal@15579 | 9 LICENSE="GPL2" |
claudinei@3253 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3253 | 11 WEB_SITE="http://www.xhtml2pdf.com" |
pascal@24975 | 12 WGET_URL="https://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 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
claudinei@3253 | 24 # Rules to configure and make the package. |
claudinei@3253 | 25 compile_rules() |
claudinei@3253 | 26 { |
pascal@15579 | 27 python setup.py install --root=$DESTDIR |
claudinei@3253 | 28 } |
claudinei@3253 | 29 |
claudinei@3253 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3253 | 31 genpkg_rules() |
claudinei@3253 | 32 { |
claudinei@3253 | 33 mkdir -p $fs/usr |
pascal@15579 | 34 cp -a $install/usr $fs |
claudinei@3253 | 35 } |