wok-6.x diff buffer/receipt @ rev 25004
updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:20:40 2022 +0100 (2022-05-16) |
parents | a511baf85854 |
children |
line diff
1.1 --- a/buffer/receipt Wed Jul 06 10:09:09 2016 +0300 1.2 +++ b/buffer/receipt Mon May 16 16:20:40 2022 +0100 1.3 @@ -8,11 +8,18 @@ 1.4 LICENSE="GPL2" 1.5 WEB_SITE="http://www.mondorescue.org/" 1.6 TARBALL="$PACKAGE-$VERSION.tgz" 1.7 -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" 1.8 +WGET_URL="http://ftp.mondorescue.org/src/$TARBALL" 1.9 1.10 DEPENDS="" 1.11 BUILD_DEPENDS="" 1.12 1.13 +# What is the latest version available today? 1.14 +current_version() 1.15 +{ 1.16 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.17 + sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 {