wok view wkhtmltopdf/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 1c6685b9308e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wkhtmltopdf"
4 VERSION="0.12.6"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # cat > qt/configure <<EOT
28 ##!/bin/sh
29 #
30 #cd \$(dirname \$0)
31 #cd ..
32 #qmake wkhtmltopdf.pro
33 #EOT
34 # chmod +x qt/configure
35 # scripts/build.py posix-local
37 qmake wkhtmltopdf.pro &&
38 make &&
39 make install INSTALL_ROOT=$DESTDIR/usr
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders lib
47 }