wok diff wkhtmltopdf/receipt @ rev 17476

isolinux/iso2exe: fix mkfloppy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 29 18:24:44 2014 +0100 (2014-12-29)
parents
children 82fa5f95bda8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wkhtmltopdf/receipt	Mon Dec 29 18:24:44 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wkhtmltopdf"
     1.7 +VERSION="0.12.1.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Tools to render HTML into PDF and various image formats."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="LGPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://wkhtmltopdf.org/"
    1.14 +WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore"
    1.17 +BUILD_DEPENDS="wget python qmake Qt4-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cat > qt/configure <<EOT
    1.23 +#!/bin/sh
    1.24 +
    1.25 +cd \$(dirname \$0)
    1.26 +cd ..
    1.27 +qmake wkhtmltopdf.pro
    1.28 +EOT
    1.29 +	chmod +x qt/configure
    1.30 +	scripts/build.py posix-local
    1.31 +	make &&
    1.32 +	make INSTALL_ROOT=$DESTDIR/usr install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/lib $fs/usr
    1.41 +}