wok-next annotate htmldoc/receipt @ rev 21445
updated scim (1.4.17 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:55:11 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15077 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.msweet.org/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@21078 | 14 BUILD_DEPENDS="fltk-dev libgcrypt-dev libjpeg-turbo-dev libpng-dev \ |
al@21078 | 15 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@21020 | 20 ./configure $CONFIGURE_ARGS && |
al@21020 | 21 make && |
al@21020 | 22 make install || return 1 |
gokhlayeh@8883 | 23 |
al@20393 | 24 find $install -type f -exec chmod u+w '{}' \; |
gokhlayeh@8883 | 25 } |
gokhlayeh@8883 | 26 |
al@20393 | 27 genpkg_rules() { |
al@20393 | 28 copy @std |
al@21078 | 29 DEPENDS="fltk fontconfig libjpeg-turbo libpng libx11 libxext \ |
al@21078 | 30 libxfixes libxft libxinerama libxpm zlib" |
al@20393 | 31 } |