wok-6.x diff aspell-it/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents be83dfad13f3
children fb22330086d8
line diff
     1.1 --- a/aspell-it/receipt	Wed Jan 01 09:45:35 2020 +0100
     1.2 +++ b/aspell-it/receipt	Thu Jan 27 12:16:00 2022 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Italian aspell dictionary."
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://aspell.net/"
     1.8 +WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
     1.9  
    1.10  SOURCE="aspell6-it"
    1.11  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.12 @@ -15,6 +15,13 @@
    1.13  DEPENDS="aspell"
    1.14  BUILD_DEPENDS="aspell aspell-dev"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.20 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {