wok diff jdk6-jaf/receipt @ rev 25423
wxWidgets28: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 17 14:38:41 2022 +0000 (2022-08-17) |
parents | c264c093ebec |
children | 73f36875e5a7 |
line diff
1.1 --- a/jdk6-jaf/receipt Sun Sep 13 12:53:35 2015 -0300 1.2 +++ b/jdk6-jaf/receipt Wed Aug 17 14:38:41 2022 +0000 1.3 @@ -11,6 +11,13 @@ 1.4 WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL" 1.5 COOK_OPT="!unpack !repack_src !fs" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.11 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 BUILD_DEPENDS="wget" 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg.