wok view wkhtmltopdf/receipt @ rev 22040

updated tokyocabinet and tokyocabinet-dev (1.4.32 -> 1.4.48)
author Hans-G?nter Theisgen
date Mon Oct 21 17:24:12 2019 +0100 (2019-10-21)
parents 82fa5f95bda8
children 2d825c1955d6
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://wkhtmltopdf.org/"
11 WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
13 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
14 BUILD_DEPENDS="wget python qmake Qt4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cat > qt/configure <<EOT
20 #!/bin/sh
22 cd \$(dirname \$0)
23 cd ..
24 qmake wkhtmltopdf.pro
25 EOT
26 chmod +x qt/configure
27 scripts/build.py posix-local
28 make &&
29 make INSTALL_ROOT=$DESTDIR/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }