wok-current view wkhtmltopdf/receipt @ rev 22352

libcap: include stddef.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 19 11:07:25 2019 +0100 (2019-11-19)
parents a78610b2eb47
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="wkhtmltopdf"
4 VERSION="0.12.5"
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="https://wkhtmltopdf.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtWebkit libQtXml"
15 BUILD_DEPENDS="python qmake Qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # cat > qt/configure <<EOT
21 ##!/bin/sh
22 #
23 #cd \$(dirname \$0)
24 #cd ..
25 #qmake wkhtmltopdf.pro
26 #EOT
27 # chmod +x qt/configure
28 # scripts/build.py posix-local
30 qmake wkhtmltopdf.pro &&
31 make &&
32 make INSTALL_ROOT=$DESTDIR/usr install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }