wok-next view htmldoc/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
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 }