wok annotate wkhtmltopdf/receipt @ rev 25413

updated wkhtmltopdf (0.12.5 -> 0.12.6)
author Hans-G?nter Theisgen
date Thu Aug 04 08:30:32 2022 +0100 (22 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
rev   line source
pascal@17163 1 # SliTaz package receipt.
pascal@17163 2
pascal@17163 3 PACKAGE="wkhtmltopdf"
Hans-G?nter@25413 4 VERSION="0.12.6"
pascal@17163 5 CATEGORY="misc"
pascal@17163 6 SHORT_DESC="Tools to render HTML into PDF and various image formats."
pascal@17163 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17163 8 LICENSE="LGPL3"
Hans-G?nter@22136 9 WEB_SITE="https://wkhtmltopdf.org/"
Hans-G?nter@22136 10
pascal@17163 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22136 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
pascal@17163 13
Hans-G?nter@22136 14 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtWebkit libQtXml"
Hans-G?nter@22136 15 BUILD_DEPENDS="python qmake Qt4-dev"
pascal@17163 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@17163 23 # Rules to configure and make the package.
pascal@17163 24 compile_rules()
pascal@17163 25 {
Hans-G?nter@22136 26 # cat > qt/configure <<EOT
Hans-G?nter@22136 27 ##!/bin/sh
Hans-G?nter@22136 28 #
Hans-G?nter@22136 29 #cd \$(dirname \$0)
Hans-G?nter@22136 30 #cd ..
Hans-G?nter@22136 31 #qmake wkhtmltopdf.pro
Hans-G?nter@22136 32 #EOT
Hans-G?nter@22136 33 # chmod +x qt/configure
Hans-G?nter@22136 34 # scripts/build.py posix-local
pascal@17163 35
Hans-G?nter@22136 36 qmake wkhtmltopdf.pro &&
pascal@17163 37 make &&
Hans-G?nter@25413 38 make install INSTALL_ROOT=$DESTDIR/usr
pascal@17163 39 }
pascal@17163 40
pascal@17163 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17163 42 genpkg_rules()
pascal@17163 43 {
Hans-G?nter@25413 44 cook_copy_folders bin
Hans-G?nter@25413 45 cook_copy_folders lib
pascal@17163 46 }