wok diff foo2xqx/receipt @ rev 25591

enet: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 22 11:01:59 2023 +0000 (14 months ago)
parents 1a6eb3793a9e
children a66f312c374b
line diff
     1.1 --- a/foo2xqx/receipt	Fri Aug 05 07:39:58 2022 +0000
     1.2 +++ b/foo2xqx/receipt	Thu Jun 22 11:01:59 2023 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="foo2xqx"
     1.7 -VERSION="20141104"
     1.8 +VERSION="20210406"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="a linux printer driver for XQX stream protocol."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="foo2zjs.tar.gz"
    1.14 -WEB_SITE="https://github.com/koenkooi/foo2zjs/"
    1.15 -WGET_URL="http://foo2zjs.rkkda.com/$TARBALL"
    1.16 +TARBALL="foo2zjs-$VERSION.tar.gz"
    1.17 +WEB_SITE="https://foo2zjs.linkevich.net/"
    1.18 +WGET_URL="https://foo2zjs.linkevich.net//foo2zjs/foo2zjs.tar.gz"
    1.19  
    1.20  DEPENDS="ghostscript foo2xqx-data"
    1.21  BUILD_DEPENDS="foomatic-db-engine bc"
    1.22 @@ -16,7 +16,8 @@
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25  {
    1.26 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    1.27 +	# wget -O - $WEB_SITE 2>/dev/null | sed '/Current version/!d;s|.*/b> *||;s| *<.*||'
    1.28 +	wget -O - https://github.com/koenkooi/foo2zjs/commits/master 2>/dev/null | \
    1.29  	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    1.30  }
    1.31  
    1.32 @@ -34,6 +35,7 @@
    1.33  	FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610"
    1.34  	sed -i 's|uname -m|echo i486|' Makefile
    1.35  	make
    1.36 +	# for i in $(sed '/getweb/!d;/gmake/d;s|.*getweb *||;s|[ \t].*||' INSTALL); do
    1.37  	for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \
    1.38  		 $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do
    1.39  		./getweb $i