Mercurial > mxe-octave
comparison src/glib.mk @ 1007:6daf96911c63
update version recognition of package glib
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 26 May 2010 11:24:19 +0200 |
parents | 4e37546b3877 |
children | e5716715fc09 |
comparison
equal
deleted
inserted
replaced
1006:a1bef743cba0 | 1007:6daf96911c63 |
---|---|
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/browse/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[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ | 18 $(SED) -n 's,.*<a[^>]*>glib-*\([0-9][^<]*\)<.*,\1,p' | \ |
19 grep -v '^2\.24\.' | \ | 19 grep -v '^2\.24\.' | \ |
20 head -1 | 20 head -1 |
21 endef | 21 endef |
22 | 22 |
23 define $(PKG)_BUILD | 23 define $(PKG)_BUILD |