wok diff gzip/receipt @ rev 24993

lightdm: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 21:35:56 2022 +0000 (2022-05-14)
parents eb5a3cc75bb7
children 096ad9edc98b
line diff
     1.1 --- a/gzip/receipt	Fri Jan 11 16:20:15 2019 +0100
     1.2 +++ b/gzip/receipt	Sat May 14 21:35:56 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gzip"
     1.7 -VERSION="1.10"
     1.8 +VERSION="1.11"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GNU compression utilities (gzip and gunzip)"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -13,6 +13,12 @@
    1.13  DEPENDS="glibc-base"
    1.14  BUILD_DEPENDS="glibc-dev"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.19 +	sed '/tar/!d;s|.*gzip-\(.*\).tar.*".*|\1|' | sed '$!d'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {