wok-current diff buffer/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | a511baf85854 |
children |
line diff
1.1 --- a/buffer/receipt Wed Jul 06 10:09:09 2016 +0300 1.2 +++ b/buffer/receipt Fri Sep 01 12:04:33 2023 +0000 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 {