wok-next view wkhtmltopdf/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wkhtmltopdf"
4 VERSION="0.12.2.1"
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/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="python qmake Qt4-dev"
16 compile_rules() {
17 cat > qt/configure <<EOT
18 #!/bin/sh
20 cd \$(dirname \$0)
21 cd ..
22 qmake wkhtmltopdf.pro
23 EOT
24 chmod +x qt/configure
25 scripts/build.py posix-local
26 make &&
27 make INSTALL_ROOT=$install/usr install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
33 }