wok-6.x diff jdk6-jaf/receipt @ rev 24919
updated motion (4.3.0 -> 4.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 07:17:22 2022 +0100 (2022-04-10) |
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 Sun Apr 10 07:17:22 2022 +0100 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.