wok diff acl/receipt @ rev 24074
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 09:18:48 2021 +0000 (2021-07-08) |
parents | a8b43c8ec993 |
children | 68e1e2f938b4 |
line diff
1.1 --- a/acl/receipt Wed Oct 31 15:51:34 2018 +0100 1.2 +++ b/acl/receipt Thu Jul 08 09:18:48 2021 +0000 1.3 @@ -19,6 +19,12 @@ 1.4 arm) BUILD_DEPENDS="attr-dev" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://download.savannah.nongnu.org/releases/acl/ 2>/dev/null | \ 1.10 + sed '/href="acl/!d;s|.*acl-\([0-9\.]*\)\..*|\1|' | sed '$!d' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {