# SliTaz package receipt.
PACKAGE="wkhtmltopdf"
VERSION="0.12.6"
CATEGORY="misc"
SHORT_DESC="Tools to render HTML into PDF and various image formats."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="LGPL3"
WEB_SITE="https://wkhtmltopdf.org/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtWebkit libQtXml"
BUILD_DEPENDS="python qmake Qt4-dev"
current_version()
{
wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}
# Rules to configure and make the package.
compile_rules()
{
# cat > qt/configure <