wok diff openjdk-7-src/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents 3705d68ed8f3
children 65ff25c4de90
line diff
     1.1 --- a/openjdk-7-src/receipt	Sat Feb 24 12:51:10 2018 +0100
     1.2 +++ b/openjdk-7-src/receipt	Sat Apr 16 12:43:33 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  WGET_URL="http://download.java.net/openjdk/jdk7/promoted/${VERSION%-*}/$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 - http://hg.openjdk.java.net/jdk7/jdk7/tags 2>/dev/null | \
    1.11 +	sed '/jdk7-/!d;s|jdk7-||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  compile_rules()
    1.16  {