libgdamm: add update macro

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-08-10 10:46:25 -07:00
parent 4be73ca844
commit 8e1be39ff0
1 changed files with 4 additions and 2 deletions

View File

@ -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