wok rev 24694

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 12:06:14 2022 +0000 (2022-03-13)
parents fba451138c89
children aba2c5ca9a66
files autoconf213/receipt docbook-xml-412/receipt docbook-xml-42/receipt docbook-xml-43/receipt docbook-xml-44/receipt docbook-xml/receipt gadmin-bind/receipt gadmin-dhcpd/receipt gadmin-httpd/receipt gadmin-openvpn-client/receipt gadmin-openvpn-server/receipt gadmin-proftpd/receipt gadmin-rsync/receipt gadmin-samba/receipt gadmin-sendmail/receipt gadmin-squid/receipt gcc3/receipt gcc49/receipt gcc54/receipt gcc61/receipt gcc63/receipt gcc83/receipt h8300-gcc/receipt h8300-gcc3/receipt py3k3/receipt qt4/receipt qt5/receipt
line diff
     1.1 --- a/autoconf213/receipt	Sun Mar 13 07:13:46 2022 +0100
     1.2 +++ b/autoconf213/receipt	Sun Mar 13 12:06:14 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="m4 perl"
     1.5  BUILD_DEPENDS="m4 perl sed"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - http://ftpmirror.gnu.org/autoconf/ 2>/dev/null | \
    1.11 +	sed '/>autoconf-2\.13/!d;s|.*>autoconf-||;s|.t.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/docbook-xml-412/receipt	Sun Mar 13 07:13:46 2022 +0100
     2.2 +++ b/docbook-xml-412/receipt	Sun Mar 13 12:06:14 2022 +0000
     2.3 @@ -13,6 +13,13 @@
     2.4  
     2.5  DEPENDS="libxml2-tools libxml2"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - http://www.docbook.org/xml/ 2>/dev/null | \
    2.11 +	sed 's|<li>|&\n|g' | sed '/>4\.1\.2/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/docbook-xml-42/receipt	Sun Mar 13 07:13:46 2022 +0100
     3.2 +++ b/docbook-xml-42/receipt	Sun Mar 13 12:06:14 2022 +0000
     3.3 @@ -13,6 +13,13 @@
     3.4  
     3.5  DEPENDS="libxml2-tools libxml2"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - http://www.docbook.org/xml/ 2>/dev/null | \
    3.11 +	sed 's|<li>|&\n|g' | sed '/>4\.2/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/docbook-xml-43/receipt	Sun Mar 13 07:13:46 2022 +0100
     4.2 +++ b/docbook-xml-43/receipt	Sun Mar 13 12:06:14 2022 +0000
     4.3 @@ -13,6 +13,13 @@
     4.4  
     4.5  DEPENDS="libxml2-tools libxml2"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - http://www.docbook.org/xml/ 2>/dev/null | \
    4.11 +	sed 's|<li>|&\n|g' | sed '/>4\.3/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/docbook-xml-44/receipt	Sun Mar 13 07:13:46 2022 +0100
     5.2 +++ b/docbook-xml-44/receipt	Sun Mar 13 12:06:14 2022 +0000
     5.3 @@ -13,6 +13,13 @@
     5.4  
     5.5  DEPENDS="libxml2-tools libxml2"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - http://www.docbook.org/xml/ 2>/dev/null | \
    5.11 +	sed 's|<li>|&\n|g' | sed '/>4\.4/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/docbook-xml/receipt	Sun Mar 13 07:13:46 2022 +0100
     6.2 +++ b/docbook-xml/receipt	Sun Mar 13 12:06:14 2022 +0000
     6.3 @@ -12,6 +12,13 @@
     6.4  
     6.5  DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 docbook-xml-44"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - http://www.docbook.org/xml/ 2>/dev/null | \
    6.11 +	sed 's|<li>|&\n|g' | sed '/>4\.5/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/gadmin-bind/receipt	Sun Mar 13 07:13:46 2022 +0100
     7.2 +++ b/gadmin-bind/receipt	Sun Mar 13 12:06:14 2022 +0000
     7.3 @@ -14,6 +14,13 @@
     7.4  BUILD_DEPENDS="gtk+-dev"
     7.5  
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
    7.11 +	sed '/GAdmin-BIND:/!d;s|.*sion: ||;s| .*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/gadmin-dhcpd/receipt	Sun Mar 13 07:13:46 2022 +0100
     8.2 +++ b/gadmin-dhcpd/receipt	Sun Mar 13 12:06:14 2022 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  BUILD_DEPENDS="gtk+-dev"
     8.5  
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
    8.11 +	sed '/GAdmin-DHCPD:/!d;s|.*sion: ||;s| .*||;q'
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/gadmin-httpd/receipt	Sun Mar 13 07:13:46 2022 +0100
     9.2 +++ b/gadmin-httpd/receipt	Sun Mar 13 12:06:14 2022 +0000
     9.3 @@ -14,6 +14,13 @@
     9.4  BUILD_DEPENDS="gtk+-dev"
     9.5  
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
    9.11 +	sed '/GAdmin-HTTPD:/!d;s|.*sion: ||;s| .*||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/gadmin-openvpn-client/receipt	Sun Mar 13 07:13:46 2022 +0100
    10.2 +++ b/gadmin-openvpn-client/receipt	Sun Mar 13 12:06:14 2022 +0000
    10.3 @@ -14,6 +14,13 @@
    10.4  BUILD_DEPENDS="gtk+-dev"
    10.5  
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   10.11 +	sed '/GAdmin-OpenVPN-Client:/!d;s|.*sion: ||;s| .*||;q'
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/gadmin-openvpn-server/receipt	Sun Mar 13 07:13:46 2022 +0100
    11.2 +++ b/gadmin-openvpn-server/receipt	Sun Mar 13 12:06:14 2022 +0000
    11.3 @@ -14,6 +14,13 @@
    11.4  BUILD_DEPENDS="gtk+-dev"
    11.5  
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   11.11 +	sed '/GAdmin-OpenVPN-Server:/!d;s|.*sion: ||;s| .*||;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/gadmin-proftpd/receipt	Sun Mar 13 07:13:46 2022 +0100
    12.2 +++ b/gadmin-proftpd/receipt	Sun Mar 13 12:06:14 2022 +0000
    12.3 @@ -14,6 +14,13 @@
    12.4  BUILD_DEPENDS="gtk+-dev"
    12.5  
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   12.11 +	sed '/GAdmin-ProFTPD:/!d;s|.*sion: ||;s| .*||;q'
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/gadmin-rsync/receipt	Sun Mar 13 07:13:46 2022 +0100
    13.2 +++ b/gadmin-rsync/receipt	Sun Mar 13 12:06:14 2022 +0000
    13.3 @@ -14,6 +14,13 @@
    13.4  BUILD_DEPENDS="gtk+-dev"
    13.5  
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   13.11 +	sed '/GAdmin-RSYNC:/!d;s|.*sion: ||;s| .*||;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/gadmin-samba/receipt	Sun Mar 13 07:13:46 2022 +0100
    14.2 +++ b/gadmin-samba/receipt	Sun Mar 13 12:06:14 2022 +0000
    14.3 @@ -14,6 +14,13 @@
    14.4  BUILD_DEPENDS="gtk+-dev"
    14.5  
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   14.11 +	sed '/GAdmin-SAMBA:/!d;s|.*sion: ||;s| .*||;q'
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/gadmin-sendmail/receipt	Sun Mar 13 07:13:46 2022 +0100
    15.2 +++ b/gadmin-sendmail/receipt	Sun Mar 13 12:06:14 2022 +0000
    15.3 @@ -14,6 +14,13 @@
    15.4  BUILD_DEPENDS="gtk+-dev"
    15.5  
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   15.11 +	sed '/GAdmin-Sendmail:/!d;s|.*sion: ||;s| .*||;q'
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/gadmin-squid/receipt	Sun Mar 13 07:13:46 2022 +0100
    16.2 +++ b/gadmin-squid/receipt	Sun Mar 13 12:06:14 2022 +0000
    16.3 @@ -14,6 +14,13 @@
    16.4  BUILD_DEPENDS="gtk+-dev"
    16.5  
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
   16.11 +	sed '/GAdmin-SQUID:/!d;s|.*sion: ||;s| .*||;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/gcc3/receipt	Sun Mar 13 07:13:46 2022 +0100
    17.2 +++ b/gcc3/receipt	Sun Mar 13 12:06:14 2022 +0000
    17.3 @@ -15,6 +15,13 @@
    17.4  BUILD_DEPENDS="gawk"
    17.5  DEPENDS="gcc"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   17.11 +	sed '/gcc-3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/gcc49/receipt	Sun Mar 13 07:13:46 2022 +0100
    18.2 +++ b/gcc49/receipt	Sun Mar 13 12:06:14 2022 +0000
    18.3 @@ -18,6 +18,13 @@
    18.4  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
    18.5  BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   18.11 +	sed '/gcc-4\.9/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   18.12 +}
   18.13 +
   18.14  # Rules to configure and make the package.
   18.15  compile_rules()
   18.16  {
    19.1 --- a/gcc54/receipt	Sun Mar 13 07:13:46 2022 +0100
    19.2 +++ b/gcc54/receipt	Sun Mar 13 12:06:14 2022 +0000
    19.3 @@ -18,6 +18,13 @@
    19.4  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
    19.5  BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   19.11 +	sed '/gcc-5\.4/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/gcc61/receipt	Sun Mar 13 07:13:46 2022 +0100
    20.2 +++ b/gcc61/receipt	Sun Mar 13 12:06:14 2022 +0000
    20.3 @@ -18,6 +18,13 @@
    20.4  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
    20.5  BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   20.11 +	sed '/gcc-6\.1/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/gcc63/receipt	Sun Mar 13 07:13:46 2022 +0100
    21.2 +++ b/gcc63/receipt	Sun Mar 13 12:06:14 2022 +0000
    21.3 @@ -18,6 +18,13 @@
    21.4  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
    21.5  BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   21.11 +	sed '/gcc-6\.3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/gcc83/receipt	Sun Mar 13 07:13:46 2022 +0100
    22.2 +++ b/gcc83/receipt	Sun Mar 13 12:06:14 2022 +0000
    22.3 @@ -19,6 +19,13 @@
    22.4  DEPENDS="binutils elfutils gcc-lib-base libgomp libobjc mpc-library"
    22.5  BUILD_DEPENDS="elfutils-dev gmp-dev mpc-library mpfr-dev"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   22.11 +	sed '/gcc-8\.3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/h8300-gcc/receipt	Sun Mar 13 07:13:46 2022 +0100
    23.2 +++ b/h8300-gcc/receipt	Sun Mar 13 12:06:14 2022 +0000
    23.3 @@ -15,6 +15,13 @@
    23.4  DEPENDS="h8300-binutils glibc-base gmp mpfr"
    23.5  BUILD_DEPENDS="slitaz-toolchain gawk flex gmp gmp-dev mpfr mpfr-dev h8300-binutils"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - 'https://gcc.gnu.org/git/?p=gcc.git;a=summary' 2>/dev/null | \
   23.11 +	sed '/ release/!d;s|.*GCC ||;s| release.*||' | sort -Vr | sed q
   23.12 +}
   23.13 +
   23.14  # Configuration only needs included if we're in the build/wok environment
   23.15  if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
   23.16  	. $WOK/h8300-toolchain/stuff/h8300.conf
    24.1 --- a/h8300-gcc3/receipt	Sun Mar 13 07:13:46 2022 +0100
    24.2 +++ b/h8300-gcc3/receipt	Sun Mar 13 12:06:14 2022 +0000
    24.3 @@ -16,6 +16,13 @@
    24.4  DEPENDS="h8300-binutils"
    24.5  BUILD_DEPENDS="bison flex h8300-binutils"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \
   24.11 +	sed '/gcc-3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q
   24.12 +}
   24.13 +
   24.14  # Configuration only needs included if we're in the build/wok environment
   24.15  if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
   24.16  	. $WOK/h8300-toolchain/stuff/h8300.conf
    25.1 --- a/py3k3/receipt	Sun Mar 13 07:13:46 2022 +0100
    25.2 +++ b/py3k3/receipt	Sun Mar 13 12:06:14 2022 +0000
    25.3 @@ -17,6 +17,13 @@
    25.4  BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
    25.5  ncursesw-dev liblzma-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://www.python.org/ftp/python/ 2>/dev/null | \
   25.11 +	sed '/>3\.3\./!d;s|.*">||;s|/<.*||' | sort -Vr | sed q
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/qt4/receipt	Sun Mar 13 07:13:46 2022 +0100
    26.2 +++ b/qt4/receipt	Sun Mar 13 12:06:14 2022 +0000
    26.3 @@ -9,7 +9,7 @@
    26.4  LICENSE="GPL3 LGPL2.1"
    26.5  TARBALL="$SOURCE-$VERSION.tar.gz"
    26.6  WEB_SITE="http://qt-project.org/"
    26.7 -WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$TARBALL"
    26.8 +WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
    26.9  PROVIDE="qt-x11-opensource-src Qt4"
   26.10  TAGS="qt"
   26.11  
   26.12 @@ -26,6 +26,15 @@
   26.13  pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
   26.14  xorg-libXv-dev sqlite-dev"
   26.15  
   26.16 +# What is the latest version available today?
   26.17 +current_version()
   26.18 +{
   26.19 +	wget -O - https://download.qt.io/archive/qt/ 2>/dev/null | \
   26.20 +	sed '/>4\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \
   26.21 +	sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
   26.22 +	sed '/>4\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q
   26.23 +}
   26.24 +
   26.25  # Rules to configure and make the package.
   26.26  compile_rules()
   26.27  {
    27.1 --- a/qt5/receipt	Sun Mar 13 07:13:46 2022 +0100
    27.2 +++ b/qt5/receipt	Sun Mar 13 12:06:14 2022 +0000
    27.3 @@ -25,6 +25,15 @@
    27.4  	sqlite-dev tslib-dev xorg-libX11-dev xorg-libXcomposite-dev 
    27.5  	xorg-libXrender-dev zlib-dev"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://download.qt.io/archive/qt/ 2>/dev/null | \
   27.11 +	sed '/>5\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \
   27.12 +	sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
   27.13 +	sed '/>5\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q
   27.14 +}
   27.15 +
   27.16  # Rules to configure and make the package.
   27.17  compile_rules()
   27.18  {