diff src/pango.mk @ 499:abc655cb4694

improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 21 Oct 2009 13:24:44 +0200
parents c53c9f11ae65
children ea7dc53d5c8b
line wrap: on
line diff
--- a/src/pango.mk	Mon Oct 19 23:52:01 2009 +0200
+++ b/src/pango.mk	Wed Oct 21 13:24:44 2009 +0200
@@ -32,9 +32,9 @@
 $(PKG)_DEPS     := gcc fontconfig freetype cairo glib
 
 define $(PKG)_UPDATE
-    wget -q -O- 'http://www.gtk.org/download-windows.html' | \
-    grep 'pango-' | \
-    $(SED) -n 's,.*pango-\([0-9][^>]*\)\.tar.*,\1,p' | \
+    wget -q -O- 'http://git.gnome.org/cgit/pango/refs/tags' | \
+    grep '<a href=' | \
+    $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
     head -1
 endef