wok annotate wkhtmltopdf/receipt @ rev 24006

Up sudo (1.9.5p2) CVE-2021-3156
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 15:14:04 2021 +0000 (2021-01-29)
parents a78610b2eb47
children 5ea0ce1cecc0
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@17163 17 # Rules to configure and make the package.
pascal@17163 18 compile_rules()
pascal@17163 19 {
Hans-G?nter@22136 20 # cat > qt/configure <<EOT
Hans-G?nter@22136 21 ##!/bin/sh
Hans-G?nter@22136 22 #
Hans-G?nter@22136 23 #cd \$(dirname \$0)
Hans-G?nter@22136 24 #cd ..
Hans-G?nter@22136 25 #qmake wkhtmltopdf.pro
Hans-G?nter@22136 26 #EOT
Hans-G?nter@22136 27 # chmod +x qt/configure
Hans-G?nter@22136 28 # scripts/build.py posix-local
pascal@17163 29
Hans-G?nter@22136 30 qmake wkhtmltopdf.pro &&
pascal@17163 31 make &&
pascal@17163 32 make INSTALL_ROOT=$DESTDIR/usr install
pascal@17163 33 }
pascal@17163 34
pascal@17163 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17163 36 genpkg_rules()
pascal@17163 37 {
pascal@17163 38 mkdir -p $fs/usr
Hans-G?nter@22136 39
Hans-G?nter@22136 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22136 41 cp -a $install/usr/lib $fs/usr
pascal@17163 42 }