wok diff htmldoc/receipt @ rev 23473
updated python-couchdbkit (0.6.2 -> 0.6.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 14:51:37 2020 +0100 (2020-04-05) |
parents | 5b6c86ca3faa |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/htmldoc/receipt Sat Oct 19 10:25:12 2019 +0200 1.2 +++ b/htmldoc/receipt Sun Apr 05 14:51:37 2020 +0100 1.3 @@ -1,30 +1,37 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="htmldoc" 1.7 -VERSION="1.8.27" 1.8 +VERSION="1.9.8" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Convert HTML pages into a PDF document." 1.11 MAINTAINER="gokhlayeh@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION-source.tar.bz2" 1.14 WEB_SITE="https://www.htmldoc.org" 1.15 -WGET_URL="http://ftp.easysw.com/pub/$PACKAGE/$VERSION/$TARBALL" 1.16 1.17 -DEPENDS="jpeg libpng fltk" 1.18 -BUILD_DEPENDS="jpeg-dev libpng-dev fltk-dev" 1.19 +TARBALL="$PACKAGE-$VERSION-source.tar.gz" 1.20 +WGET_URL="https://github.com/michaelrsweet/$PACKAGE/releases/download/v$VERSION/$TARBALL" 1.21 + 1.22 +DEPENDS="fltk jpeg libpng" 1.23 +BUILD_DEPENDS="fltk-dev jpeg-dev libpng-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 sed -i -e 's|\(jpeg_read_header.*\)1|\1boolean(1)|' \ 1.29 - -e 's|\(quantize.*\)0|\1boolean(0)|' htmldoc/image.cxx 1.30 + -e 's|\(quantize.*\)0|\1boolean(0)|' \ 1.31 + htmldoc/image.cxx 1.32 1.33 - # make sure not to use the libs htmldoc ships with 1.34 - mkdir foo ; mv jpeg foo/ ; mv png foo/ ; mv zlib foo/ 1.35 + # make sure not to use the libraries htmldoc ships with 1.36 + mkdir foo 1.37 + mv jpeg foo/ 1.38 + mv png foo/ 1.39 + mv zlib foo/ 1.40 1.41 - { ./configure && \ 1.42 - sed -i 's|^bindir.*$|bindir = ${prefix}/bin|' Makedefs && \ 1.43 - make && make prefix=$DESTDIR/usr install; } || return 1 1.44 + ./configure \ 1.45 + --prefix=/usr \ 1.46 + $CONFIGURE_ARGS && 1.47 + make && 1.48 + make prefix=$DESTDIR/usr install 1.49 1.50 # fix freedesktop stuff 1.51 install -Dm 644 desktop/htmldoc-128.png \ 1.52 @@ -39,6 +46,7 @@ 1.53 genpkg_rules() 1.54 { 1.55 mkdir -p $fs/usr/share 1.56 - cp -a $install/usr/bin $fs/usr 1.57 - cp -a $install/usr/share/htmldoc $fs/usr/share 1.58 -} 1.59 \ No newline at end of file 1.60 + 1.61 + cp -a $install/usr/bin $fs/usr 1.62 + cp -a $install/usr/share/htmldoc $fs/usr/share 1.63 +}