From a79acd1f3ec5acb9e541383c83ce3f6427aa7724 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Wed, 21 Oct 2009 13:24:44 +0200 Subject: improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf --- src/atk.mk | 7 ++++--- src/glib.mk | 6 +++--- src/gtk.mk | 6 +++--- src/libxml2.mk | 5 +++-- src/libxslt.mk | 5 +++-- src/nsis.mk | 8 ++++---- src/pango.mk | 6 +++--- src/sdl.mk | 5 +++-- src/sdl_image.mk | 5 +++-- src/sdl_mixer.mk | 5 +++-- src/sdl_ttf.mk | 5 +++-- 11 files changed, 35 insertions(+), 28 deletions(-) diff --git a/src/atk.mk b/src/atk.mk index 2ad989a..6c12246 100644 --- a/src/atk.mk +++ b/src/atk.mk @@ -31,9 +31,10 @@ $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/atk/$(call SHORT_PKG_V $(PKG)_DEPS := gcc glib gettext define $(PKG)_UPDATE - wget -q -O- 'http://www.gtk.org/download-windows.html' | \ - grep 'atk-' | \ - $(SED) -n 's,.*atk-\([0-9][^>]*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/atk/refs/tags' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/glib/refs/tags' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/gtk+/refs/tags' | \ + grep ']*\).*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/libxml2/refs/tags' | \ + grep ']*\).*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/libxslt/refs/tags' | \ + grep '.*,\1.\2,p' | \ - tail -1 + wget -q -O- 'http://nsis.svn.sourceforge.net/viewvc/nsis/NSIS/tags/?sortby=date' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://git.gnome.org/cgit/pango/refs/tags' | \ + grep ']*\) Release Notes.*,\1,p' | \ + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL/?sortby=date' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_image/?sortby=date' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_mixer/?sortby=date' | \ + grep ']*\)\.tar.*,\1,p' | \ + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_ttf/?sortby=date' | \ + grep '