wok-next view wkhtmltopdf/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 82fa5f95bda8 |
children | 1eb4aacb48ed |
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="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 }