wok-current view xhtml2pdf/receipt @ rev 24804
updated liblouis and liblouis-dev (3.13.0 -> 3.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:57:54 2022 +0100 (2022-03-22) |
parents | 240fb3120638 |
children | e717a4953b0e |
line source
1 # SliTaz package receipt.
3 PACKAGE="xhtml2pdf"
4 SOURCE="pisa"
5 VERSION="3.0.32"
6 CATEGORY="utilities"
7 SHORT_DESC="Converter for HTML/XHTML and CSS to PDF."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xhtml2pdf.com"
12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python python-reportlab python-html5lib python-pypdf"
15 BUILD_DEPENDS="$DEPENDS python-setuptools python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr $fs
35 }