wok-current rev 24649
updated html2text (1.3.2a -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 15:48:19 2022 +0100 (2022-03-10) |
parents | 2a8e7fee7f14 |
children | 99ef2c49dbf2 |
files | html2text/description.txt html2text/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/html2text/description.txt Thu Mar 10 15:48:19 2022 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +Html2text is a command line utility, written in C++, that converts HTML 1.5 +documents into plain text. 1.6 + 1.7 +Each HTML document is loaded from a location indicated by a URI or read 1.8 +from standard input, and formatted into a stream of plain text characters 1.9 +that is written to standard output or into an output-file. 1.10 +The input-URI may specify a remote site, from that the documents are 1.11 +loaded via the Hypertext Transfer Protocol (HTTP). 1.12 + 1.13 +The program is able to preserve the original positions of table fields, 1.14 +allows you to set the screen width (to a given number of output 1.15 +characters), and accepts also syntactically incorrect input (attempting 1.16 +to interpret it "reasonably"). Boldface and underlined text is rendered 1.17 +by default with backspace sequences (which is particulary usefull when 1.18 +piping the program's output into "less" or an other pager). All rendering 1.19 +properties can largely be costomised trough an RC-file.
2.1 --- a/html2text/receipt Thu Mar 10 14:02:17 2022 +0100 2.2 +++ b/html2text/receipt Thu Mar 10 15:48:19 2022 +0100 2.3 @@ -1,17 +1,18 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="html2text" 2.7 -VERSION="1.3.2a" 2.8 +VERSION="2.0.0" 2.9 CATEGORY="utilities" 2.10 -SHORT_DESC="Command line utility that converts HTML into plain text" 2.11 +SHORT_DESC="Command line utility that converts HTML into plain text." 2.12 MAINTAINER="al.bobylev@gmail.com" 2.13 LICENSE="GPL" 2.14 WEB_SITE="http://www.mbayer.de/html2text/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 -WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL" 2.18 +WGET_URL="https://github.com/grobian/$PACKAGE/archive/v$VERSION.tar.gz" 2.19 2.20 -DEPENDS="" 2.21 -BUILD_DEPENDS="" 2.22 +DEPENDS="gcc83-lib-base" 2.23 +BUILD_DEPENDS="gcc83" 2.24 2.25 # What is the latest version available today? 2.26 current_version() 2.27 @@ -24,21 +25,19 @@ 2.28 compile_rules() 2.29 { 2.30 # http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff 2.31 - patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff 2.32 +# patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff 2.33 + 2.34 + export CC=gcc-83 2.35 + export CXX=g++-83 2.36 2.37 ./configure $CONFIGURE_ARGS 2.38 - sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|; 2.39 - s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \ 2.40 - $src/Makefile 2.41 - make 2.42 - mkdir -p $install/usr/bin $install/usr/share/man/man1 \ 2.43 - $install/usr/share/man/man5 2.44 - make install 2.45 + sed -i 's|/usr/local|/usr|' Makefile 2.46 + make DESTDIR=$DESTDIR 2.47 + make install DESTDIR=$DESTDIR 2.48 } 2.49 2.50 # Rules to gen a SliTaz package suitable for Tazpkg. 2.51 genpkg_rules() 2.52 { 2.53 - cp -a $install/* $fs 2.54 - rm -r $fs/usr/share/doc 2.55 + cook_copy_folders bin 2.56 }