wok-next annotate wkhtmltopdf/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d43bf7aae921 |
children | d5aab818505e |
rev | line source |
---|---|
al@20516 | 1 # SliTaz package receipt v2. |
pascal@17163 | 2 |
pascal@17163 | 3 PACKAGE="wkhtmltopdf" |
pascal@18070 | 4 VERSION="0.12.2.1" |
pascal@17163 | 5 CATEGORY="misc" |
al@20516 | 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" |
al@20516 | 9 WEB_SITE="http://wkhtmltopdf.org/" |
al@20516 | 10 |
pascal@17163 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17163 | 12 WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz" |
pascal@17163 | 13 |
al@20513 | 14 BUILD_DEPENDS="python qmake Qt4-dev" |
pascal@17163 | 15 |
al@20516 | 16 compile_rules() { |
pascal@17163 | 17 cat > qt/configure <<EOT |
pascal@17163 | 18 #!/bin/sh |
pascal@17163 | 19 |
pascal@17163 | 20 cd \$(dirname \$0) |
pascal@17163 | 21 cd .. |
pascal@17163 | 22 qmake wkhtmltopdf.pro |
pascal@17163 | 23 EOT |
pascal@17163 | 24 chmod +x qt/configure |
pascal@17163 | 25 scripts/build.py posix-local |
pascal@17163 | 26 make && |
pascal@17163 | 27 make INSTALL_ROOT=$DESTDIR/usr install |
pascal@17163 | 28 } |
pascal@17163 | 29 |
al@20516 | 30 genpkg_rules() { |
al@20516 | 31 copy @std |
al@20516 | 32 DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore" |
pascal@17163 | 33 } |