summaryrefslogtreecommitdiffstats
path: root/src/libgdamm.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-08-10 17:46:25 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-08-10 17:47:36 (GMT)
commit8e1be39ff0de4e0785bdd58c31cddcfc72ed9169 (patch)
tree5011008835b3935edd56624f9d39382415f8c3a7 /src/libgdamm.mk
parent4be73ca84490844c9fee6de8f732fe9197e6f0a5 (diff)
downloadmxe-8e1be39ff0de4e0785bdd58c31cddcfc72ed9169.zip
mxe-8e1be39ff0de4e0785bdd58c31cddcfc72ed9169.tar.gz
mxe-8e1be39ff0de4e0785bdd58c31cddcfc72ed9169.tar.bz2
libgdamm: add update macro
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/libgdamm.mk')
-rw-r--r--src/libgdamm.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libgdamm.mk b/src/libgdamm.mk
index 004df64..c200218 100644
--- a/src/libgdamm.mk
+++ b/src/libgdamm.mk
@@ -11,8 +11,10 @@ $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgdamm/$(call SHORT_
$(PKG)_DEPS := gcc libgda glibmm
define $(PKG)_UPDATE
- echo 'TODO: Updates for package libgdamm need to be fixed.' >&2;
- echo $(libgdamm_VERSION)
+ $(WGET) -q -O- 'http://git.gnome.org/browse/libgdamm/refs/tags' | \
+ grep '<a href=' | \
+ $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD