wok-6.x diff gnubg/receipt @ rev 25010

updated ode and ode-dev (0.16.1 -> 0.16.2)
author Hans-G?nter Theisgen
date Mon May 16 17:33:55 2022 +0100 (2022-05-16)
parents c0036f843071
children
line diff
     1.1 --- a/gnubg/receipt	Thu Feb 20 17:36:46 2020 +0100
     1.2 +++ b/gnubg/receipt	Mon May 16 17:33:55 2022 +0100
     1.3 @@ -9,13 +9,20 @@
     1.4  WEB_SITE="https://www.gnu.org/software/gnubg/"
     1.5  
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz"
     1.8 +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz"
     1.9  
    1.10  DEPENDS="gmp gtk+ libcanberra libltdl libvorbis ncurses python"
    1.11  BUILD_DEPENDS="autoconf automake bison cairo-dev flex freetype-dev 
    1.12  	glib-dev gmp-dev gtk+-dev gtkglext-dev libcanberra-dev libpng-dev 
    1.13  	libtool pkg-config python-dev readline-dev sqlite-dev"
    1.14  
    1.15 +# What is the latest version available today?
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.19 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*release-||;s|-source.*||" | sort -Vr | sed q
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {