wok-current diff gzip/receipt @ rev 25477

icedtea6-jdk: find output to variable
author Hans-G?nter Theisgen
date Thu Oct 13 17:53:47 2022 +0100 (2022-10-13)
parents eb5a3cc75bb7
children 3ad63c8fc2f9
line diff
     1.1 --- a/gzip/receipt	Fri Jan 11 16:20:15 2019 +0100
     1.2 +++ b/gzip/receipt	Thu Oct 13 17:53:47 2022 +0100
     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  {