# HG changeset patch # User John Donoghue # Date 1642166053 18000 # Node ID 3271eabb7af54d67d925376878c01ba7c2194d5a # Parent c49cd10af708ba7f3d829f8e4ee3b8ce4babb927 * src/gdal.mk: update gdal update rule to use github diff -r c49cd10af708 -r 3271eabb7af5 src/gdal.mk --- a/src/gdal.mk Tue Jan 11 22:23:06 2022 +0100 +++ b/src/gdal.mk Fri Jan 14 08:14:13 2022 -0500 @@ -12,9 +12,9 @@ $(PKG)_DEPS := zlib libpng tiff libgeotiff libiconv jpeg jasper giflib expat sqlite curl postgresql gta proj pcre qhull define $(PKG)_UPDATE - $(WGET) -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \ - $(SED) -n 's,.*gdal-\([0-9][^>]*\)\.tar.*,\1,p' | \ - head -1 + $(WGET) -q -O- 'https://github.com/OSGeo/gdal/tags' | \ + $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(GREP) -v "RC" | $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD