wok-current diff wkhtmltopdf/receipt @ rev 22487

updated apcupsd (3.14.9 -> 3.14.14)
author Hans-G?nter Theisgen
date Tue Dec 31 13:16:39 2019 +0100 (2019-12-31)
parents a78610b2eb47
children 5ea0ce1cecc0
line diff
     1.1 --- a/wkhtmltopdf/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/wkhtmltopdf/receipt	Tue Dec 31 13:16:39 2019 +0100
     1.3 @@ -1,30 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wkhtmltopdf"
     1.7 -VERSION="0.12.2.1"
     1.8 +VERSION="0.12.5"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Tools to render HTML into PDF and various image formats."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL3"
    1.13 +WEB_SITE="https://wkhtmltopdf.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://wkhtmltopdf.org/"
    1.17 -WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
    1.21 -BUILD_DEPENDS="wget python qmake Qt4-dev"
    1.22 +DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtWebkit libQtXml"
    1.23 +BUILD_DEPENDS="python qmake Qt4-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cat > qt/configure <<EOT
    1.29 -#!/bin/sh
    1.30 +#	cat > qt/configure <<EOT
    1.31 +##!/bin/sh
    1.32 +#
    1.33 +#cd \$(dirname \$0)
    1.34 +#cd ..
    1.35 +#qmake wkhtmltopdf.pro
    1.36 +#EOT
    1.37 +#	chmod +x qt/configure
    1.38 +#	scripts/build.py posix-local
    1.39  
    1.40 -cd \$(dirname \$0)
    1.41 -cd ..
    1.42 -qmake wkhtmltopdf.pro
    1.43 -EOT
    1.44 -	chmod +x qt/configure
    1.45 -	scripts/build.py posix-local
    1.46 +	qmake wkhtmltopdf.pro &&
    1.47  	make &&
    1.48  	make INSTALL_ROOT=$DESTDIR/usr install
    1.49  }
    1.50 @@ -33,6 +36,7 @@
    1.51  genpkg_rules()
    1.52  {
    1.53  	mkdir -p $fs/usr
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/lib $fs/usr
    1.56 +
    1.57 +	cp -a $install/usr/bin	$fs/usr
    1.58 +	cp -a $install/usr/lib	$fs/usr
    1.59  }