wok-current diff ecryptfs-utils/receipt @ rev 25106
linux-libre: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 14:39:56 2022 +0000 (2022-06-22) |
parents | 3e9a9990c985 |
children |
line diff
1.1 --- a/ecryptfs-utils/receipt Thu Jul 08 13:19:25 2021 +0000 1.2 +++ b/ecryptfs-utils/receipt Wed Jun 22 14:39:56 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="keyutils nss python" 1.5 BUILD_DEPENDS="keyutils-dev nss-dev python-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 '/Latest version is/!d;s|.*is ||' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 @@ -25,12 +32,6 @@ 1.18 make DESTDIR=$DESTDIR install 1.19 } 1.20 1.21 -current_version() 1.22 -{ 1.23 - wget -O - $WEB_SITE 2>/dev/null | \ 1.24 - sed '/Latest version is/!d;s|.*is ||' 1.25 -} 1.26 - 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 {