Mercurial > mxe-octave
comparison src/glib.mk @ 891:0ed1ba56ce8e
improved version recognition of packages atk, glib, gtk, libxml2, libxslt and pango
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 21 Apr 2010 01:15:03 +0200 |
parents | f266c4bf62b0 |
children | 5274217e4095 |
comparison
equal
deleted
inserted
replaced
890:bbf7d296d3c2 | 891:0ed1ba56ce8e |
---|---|
11 $(PKG)_WEBSITE := http://www.gtk.org/ | 11 $(PKG)_WEBSITE := http://www.gtk.org/ |
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc gettext pcre libiconv zlib | 13 $(PKG)_DEPS := gcc gettext pcre libiconv zlib |
14 | 14 |
15 define $(PKG)_UPDATE | 15 define $(PKG)_UPDATE |
16 wget -q -O- 'http://git.gnome.org/cgit/glib/refs/tags' | \ | 16 wget -q -O- 'http://git.gnome.org/browse/glib/refs/tags' | \ |
17 grep '<a href=' | \ | 17 grep '<a href=' | \ |
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \ | 18 $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \ |
19 grep -v '^2\.22\.' | \ | 19 grep -v '^2\.22\.' | \ |
20 head -1 | 20 head -1 |
21 endef | 21 endef |