wok-current rev 25575

Up foo2xqx (20210406)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 16:42:09 2023 +0000 (19 months ago)
parents 41845daa1e03
children 76d8d4e931f4
files foo2xqx-data/receipt foo2xqx/receipt
line diff
     1.1 --- a/foo2xqx-data/receipt	Sat May 13 17:20:22 2023 +0100
     1.2 +++ b/foo2xqx-data/receipt	Sat May 13 16:42:09 2023 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="foo2xqx-data"
     1.7 -VERSION="20141104"
     1.8 +VERSION="20210406"
     1.9  CATEGORY="non-free"
    1.10  SHORT_DESC="a linux printer driver for XQX stream protocol, firmware files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/foo2xqx/receipt	Sat May 13 17:20:22 2023 +0100
     2.2 +++ b/foo2xqx/receipt	Sat May 13 16:42:09 2023 +0000
     2.3 @@ -1,14 +1,14 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="foo2xqx"
     2.7 -VERSION="20141104"
     2.8 +VERSION="20210406"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="a linux printer driver for XQX stream protocol."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -TARBALL="foo2zjs.tar.gz"
    2.14 -WEB_SITE="https://github.com/koenkooi/foo2zjs/"
    2.15 -WGET_URL="http://foo2zjs.rkkda.com/$TARBALL"
    2.16 +TARBALL="foo2zjs-$VERSION.tar.gz"
    2.17 +WEB_SITE="https://foo2zjs.linkevich.net/"
    2.18 +WGET_URL="https://foo2zjs.linkevich.net//foo2zjs/foo2zjs.tar.gz"
    2.19  
    2.20  DEPENDS="ghostscript foo2xqx-data"
    2.21  BUILD_DEPENDS="foomatic-db-engine bc"
    2.22 @@ -16,7 +16,8 @@
    2.23  # What is the latest version available today?
    2.24  current_version()
    2.25  {
    2.26 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    2.27 +	# wget -O - $WEB_SITE 2>/dev/null | sed '/Current version/!d;s|.*/b> *||;s| *<.*||'
    2.28 +	wget -O - https://github.com/koenkooi/foo2zjs/commits/master 2>/dev/null | \
    2.29  	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    2.30  }
    2.31  
    2.32 @@ -34,6 +35,7 @@
    2.33  	FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610"
    2.34  	sed -i 's|uname -m|echo i486|' Makefile
    2.35  	make
    2.36 +	# for i in $(sed '/getweb/!d;/gmake/d;s|.*getweb *||;s|[ \t].*||' INSTALL); do
    2.37  	for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \
    2.38  		 $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do
    2.39  		./getweb $i