wok annotate wkhtmltopdf/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 2d825c1955d6 |
children | 1c6685b9308e |
rev | line source |
---|---|
pascal@17163 | 1 # SliTaz package receipt. |
pascal@17163 | 2 |
pascal@17163 | 3 PACKAGE="wkhtmltopdf" |
Hans-G?nter@22136 | 4 VERSION="0.12.5" |
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 && |
pascal@17163 | 38 make INSTALL_ROOT=$DESTDIR/usr install |
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 { |
pascal@17163 | 44 mkdir -p $fs/usr |
Hans-G?nter@22136 | 45 |
Hans-G?nter@22136 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22136 | 47 cp -a $install/usr/lib $fs/usr |
pascal@17163 | 48 } |