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