wok-next annotate htmldoc/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 | 6c55643b524e |
children | d5aab818505e |
rev | line source |
---|---|
al@20393 | 1 # SliTaz package receipt v2. |
gokhlayeh@8883 | 2 |
gokhlayeh@8883 | 3 PACKAGE="htmldoc" |
pascal@20391 | 4 VERSION="1.9.1" |
gokhlayeh@8883 | 5 CATEGORY="utilities" |
al@20393 | 6 SHORT_DESC="Convert HTML pages into a PDF document" |
gokhlayeh@8883 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15077 | 8 LICENSE="GPL2" |
al@20393 | 9 WEB_SITE="https://michaelrsweet.github.io/htmldoc/" |
al@20393 | 10 |
pascal@20391 | 11 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
pascal@20391 | 12 WGET_URL="https://github.com/michaelrsweet/htmldoc/releases/download/v$VERSION/$TARBALL" |
gokhlayeh@8883 | 13 |
al@20393 | 14 BUILD_DEPENDS="fltk-dev libgcrypt-dev libjpeg-turbo-dev libpng16-dev \ |
al@20393 | 15 xorg-libXpm-dev" |
pascal@15077 | 16 |
al@20393 | 17 compile_rules() { |
al@20393 | 18 echo "MimeType=application/vnd.htmldoc-book;" >> desktop/htmldoc.desktop |
gokhlayeh@8883 | 19 |
al@20393 | 20 ./configure $CONFIGURE_ARGS && make && make install || return 1 |
gokhlayeh@8883 | 21 |
al@20393 | 22 find $install -type f -exec chmod u+w '{}' \; |
gokhlayeh@8883 | 23 } |
gokhlayeh@8883 | 24 |
al@20393 | 25 genpkg_rules() { |
al@20393 | 26 copy @std |
al@20393 | 27 DEPENDS="fltk fontconfig libjpeg-turbo libpng16 xorg-libX11 xorg-libXext \ |
al@20393 | 28 xorg-libXfixes xorg-libXft xorg-libXinerama xorg-libXpm zlib" |
al@20393 | 29 } |