wok-current diff ptlib/receipt @ rev 24098

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 14 08:03:53 2021 +0000 (2021-09-14)
parents 78bc4b109dd6
children
line diff
     1.1 --- a/ptlib/receipt	Sat Jul 25 08:45:16 2020 +0000
     1.2 +++ b/ptlib/receipt	Tue Sep 14 08:03:53 2021 +0000
     1.3 @@ -16,6 +16,14 @@
     1.4  BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \
     1.5  	pkg-config zlib-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	local base=http://ftp.gnome.org/pub/gnome/sources/$PACKAGE
    1.10 +	wget -O - $base/$(wget -O - $base 2>/dev/null | \
    1.11 +	sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    1.12 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {