wok-current diff lziprecover/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 9d8df9f05e92
children 1c75fb23b954
line diff
     1.1 --- a/lziprecover/receipt	Tue Apr 23 16:01:36 2019 +0100
     1.2 +++ b/lziprecover/receipt	Wed Nov 17 10:14:59 2021 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lziprecover"
     1.7 -VERSION="1.21"
     1.8 +VERSION="1.22"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="LZIP files recovery tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -15,6 +15,12 @@
    1.13  
    1.14  HOST_ARCH="i486 arm"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.19 +	sed '/tar/!d;s|.*recover-\(.*\).tar.*".*|\1|' | sed '$!d'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {