wok-6.x diff icedtea6-jdk/receipt @ rev 24541

kfilemetadata: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 17:37:38 2022 +0000 (2022-02-23)
parents 3705d68ed8f3
children fff755dd0f58
line diff
     1.1 --- a/icedtea6-jdk/receipt	Sat Feb 24 12:51:10 2018 +0100
     1.2 +++ b/icedtea6-jdk/receipt	Wed Feb 23 17:37:38 2022 +0000
     1.3 @@ -32,6 +32,12 @@
     1.4  jdk6-jaxp-$openjdk_version.zip jdk6-jaf-$openjdk_version.zip \
     1.5  openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;/rc[0-9]/d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {