wok annotate wkhtmltopdf/receipt @ rev 21800

guvcview: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 14:24:44 2019 +0200 (2019-08-10)
parents 82fa5f95bda8
children 2d825c1955d6
rev   line source
pascal@17163 1 # SliTaz package receipt.
pascal@17163 2
pascal@17163 3 PACKAGE="wkhtmltopdf"
pascal@18070 4 VERSION="0.12.2.1"
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"
pascal@17163 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 10 WEB_SITE="https://wkhtmltopdf.org/"
pascal@17163 11 WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
pascal@17163 12
pascal@17163 13 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
pascal@17163 14 BUILD_DEPENDS="wget python qmake Qt4-dev"
pascal@17163 15
pascal@17163 16 # Rules to configure and make the package.
pascal@17163 17 compile_rules()
pascal@17163 18 {
pascal@17163 19 cat > qt/configure <<EOT
pascal@17163 20 #!/bin/sh
pascal@17163 21
pascal@17163 22 cd \$(dirname \$0)
pascal@17163 23 cd ..
pascal@17163 24 qmake wkhtmltopdf.pro
pascal@17163 25 EOT
pascal@17163 26 chmod +x qt/configure
pascal@17163 27 scripts/build.py posix-local
pascal@17163 28 make &&
pascal@17163 29 make INSTALL_ROOT=$DESTDIR/usr install
pascal@17163 30 }
pascal@17163 31
pascal@17163 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17163 33 genpkg_rules()
pascal@17163 34 {
pascal@17163 35 mkdir -p $fs/usr
pascal@17163 36 cp -a $install/usr/bin $fs/usr
pascal@17163 37 cp -a $install/usr/lib $fs/usr
pascal@17163 38 }