wok diff html2text/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (24 months ago)
parents af8d823a3077
children
line diff
     1.1 --- a/html2text/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/html2text/receipt	Sat Jun 18 20:27:19 2022 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="html2text"
     1.7 -VERSION="1.3.2a"
     1.8 +VERSION="2.0.0"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Command line utility that converts HTML into plain text"
    1.11 +SHORT_DESC="Command line utility that converts HTML into plain text."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL"
    1.14  WEB_SITE="http://www.mbayer.de/html2text/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL"
    1.18 +WGET_URL="https://github.com/grobian/$PACKAGE/archive/v$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS=""
    1.21 -BUILD_DEPENDS=""
    1.22 +DEPENDS="gcc83-lib-base"
    1.23 +BUILD_DEPENDS="gcc83"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -24,21 +25,19 @@
    1.28  compile_rules()
    1.29  {
    1.30  	# http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff
    1.31 -	patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff
    1.32 +#	patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff
    1.33 +
    1.34 +	export	CC=gcc-83
    1.35 +	export	CXX=g++-83
    1.36  
    1.37  	./configure $CONFIGURE_ARGS
    1.38 -	sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
    1.39 -		s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
    1.40 -		$src/Makefile
    1.41 -	make
    1.42 -	mkdir -p $install/usr/bin $install/usr/share/man/man1 \
    1.43 -		$install/usr/share/man/man5
    1.44 -	make install
    1.45 +	sed -i 's|/usr/local|/usr|'	Makefile
    1.46 +	make	DESTDIR=$DESTDIR
    1.47 +	make	install DESTDIR=$DESTDIR
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	cp -a $install/* $fs
    1.54 -	rm -r $fs/usr/share/doc
    1.55 +	cook_copy_folders	bin
    1.56  }