wok-next view wkhtmltopdf/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents d43bf7aae921
children d5aab818505e
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="http://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=$DESTDIR/usr install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
33 }