wok view wkhtmltopdf/receipt @ rev 25413

updated wkhtmltopdf (0.12.5 -> 0.12.6)
author Hans-G?nter Theisgen
date Thu Aug 04 08:30:32 2022 +0100 (21 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="wkhtmltopdf"
4 VERSION="0.12.6"
5 CATEGORY="misc"
6 SHORT_DESC="Tools to render HTML into PDF and various image formats."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://wkhtmltopdf.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtWebkit libQtXml"
15 BUILD_DEPENDS="python qmake Qt4-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # cat > qt/configure <<EOT
27 ##!/bin/sh
28 #
29 #cd \$(dirname \$0)
30 #cd ..
31 #qmake wkhtmltopdf.pro
32 #EOT
33 # chmod +x qt/configure
34 # scripts/build.py posix-local
36 qmake wkhtmltopdf.pro &&
37 make &&
38 make install INSTALL_ROOT=$DESTDIR/usr
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 cook_copy_folders lib
46 }