wok-6.x view wkhtmltopdf/receipt @ rev 18501
Up firefox-official(41.0.2): fix CVE-2015-7184
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 16 14:36:34 2015 +0300 (2015-10-16) |
parents | acac28bda8ed |
children | a78610b2eb47 |
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="http://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 }