wok-next diff wkhtmltopdf/receipt @ rev 20846

mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 13:59:48 2018 +0300 (2018-06-23)
parents d43bf7aae921
children d5aab818505e
line diff
     1.1 --- a/wkhtmltopdf/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/wkhtmltopdf/receipt	Sat Jun 23 13:59:48 2018 +0300
     1.3 @@ -1,21 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="wkhtmltopdf"
     1.8  VERSION="0.12.2.1"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Tools to render HTML into PDF and various image formats."
    1.11 +SHORT_DESC="Tools to render HTML into PDF and various image formats"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL3"
    1.14 +WEB_SITE="http://wkhtmltopdf.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://wkhtmltopdf.org/"
    1.18  WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
    1.21  BUILD_DEPENDS="python qmake Qt4-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	cat > qt/configure <<EOT
    1.28  #!/bin/sh
    1.29  
    1.30 @@ -29,10 +27,7 @@
    1.31  	make INSTALL_ROOT=$DESTDIR/usr install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
    1.43  }