wok-next view wkhtmltopdf/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 1eb4aacb48ed
children d457c4e37c1b
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=$install/usr install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
33 }