wok diff jdk6-jaf/receipt @ rev 25505
Up bzip3 (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 06 16:45:49 2023 +0000 (21 months ago) |
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 Mon Feb 06 16:45:49 2023 +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.