wok view wkhtmltopdf/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 2d825c1955d6 |
children | 1c6685b9308e |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # cat > qt/configure <<EOT
27 ##!/bin/sh
28 #
29 #cd \$(dirname \$0)
30 #cd ..
31 #qmake wkhtmltopdf.pro
32 #EOT
33 # chmod +x qt/configure
34 # scripts/build.py posix-local
36 qmake wkhtmltopdf.pro &&
37 make &&
38 make INSTALL_ROOT=$DESTDIR/usr install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 }