wok-6.x diff aspell-hu/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 | 191b99ca9dc2 |
children | 41a5254285d8 |
line diff
1.1 --- a/aspell-hu/receipt Wed Oct 02 10:41:05 2013 +0000 1.2 +++ b/aspell-hu/receipt Thu Jan 27 12:16:00 2022 +0000 1.3 @@ -14,10 +14,16 @@ 1.4 DEPENDS="aspell" 1.5 BUILD_DEPENDS="aspell aspell-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 - cd $src 1.18 ./configure && \ 1.19 make && make DESTDIR=$DESTDIR install 1.20 } 1.21 @@ -28,5 +34,3 @@ 1.22 mkdir -p $fs/usr/lib 1.23 cp -a $install/usr/lib/* $fs/usr/lib 1.24 } 1.25 - 1.26 -