wok-next view wkhtmltopdf/receipt @ rev 18286

Up: tazusb(181), tazpkg(828)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 11 01:19:57 2015 +0300 (2015-08-11)
parents acac28bda8ed
children d43bf7aae921
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 }