summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-09-24 20:30:15 (GMT)
committerMark Brand <mabrand@mabrand.nl>2010-09-24 20:30:15 (GMT)
commitc5a79d11659a5e25f42bf186565e489e046e94e9 (patch)
tree3a469ba3c1070ad5a943c6b8e95e53afb8577948
parentb9ae4389fc2f3b0fb9e9533ccfe07fd08c04c2fd (diff)
downloadmxe-c5a79d11659a5e25f42bf186565e489e046e94e9.zip
mxe-c5a79d11659a5e25f42bf186565e489e046e94e9.tar.gz
mxe-c5a79d11659a5e25f42bf186565e489e046e94e9.tar.bz2
packages glib gdk-pixbuf: fix update macros
-rw-r--r--src/gdk-pixbuf.mk2
-rw-r--r--src/glib.mk7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gdk-pixbuf.mk b/src/gdk-pixbuf.mk
index f53dab0..4eaa8ca 100644
--- a/src/gdk-pixbuf.mk
+++ b/src/gdk-pixbuf.mk
@@ -13,7 +13,7 @@ $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(call SHOR
$(PKG)_DEPS := gcc glib libpng jpeg tiff jasper libiconv
define $(PKG)_UPDATE
- wget -q -O- 'http://git.gnome.org/browse/gdk-pixbuf+/refs/tags' | \
+ wget -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \
grep '<a href=' | \
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
grep -v '^2\.9' | \
diff --git a/src/glib.mk b/src/glib.mk
index 35b17a5..6ba7a75 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -14,9 +14,10 @@ $(PKG)_DEPS := gcc gettext pcre libiconv zlib
define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/browse/glib/refs/tags' | \
- grep '<a href=' | \
- $(SED) -n 's,.*<a[^>]*>glib-*\([0-9][^<]*\)<.*,\1,p' | \
- grep -v '^2\.24\.' | \
+ grep '<a href=./browse/glib/tag/[?]id=[0-9.]\+' | \
+ $(SED) 's,^.*a href=./browse/glib/tag/[?]id=\([0-9.]\+\).*,\1,' | \
+ grep "^2\.25\.1[0-9]" | \
+ sort -r | \
head -1
endef