From d57ce63c49d650dad82de7d2dc9a1967bdecbb32 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 25 May 2013 22:03:21 +1000 Subject: package cegui: add update macro --- src/cegui.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cegui.mk b/src/cegui.mk index a70d877..d65d744 100644 --- a/src/cegui.mk +++ b/src/cegui.mk @@ -10,7 +10,11 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/crayzedsgui/CEGUI%20Mk-2 $(PKG)_DEPS := gcc pcre freeglut freeimage freetype libxml2 expat xerces define $(PKG)_UPDATE - echo 'TODO: Updates for package cegui need to be written.' >&2; echo $(cegui_VERSION) + $(WGET) -q -O- 'https://bitbucket.org/cegui/cegui/downloads' | \ + $(SED) -n 's,.*href=.*get/v\([0-9-]-[0-9]-[0-9]\)\.tar.*,\1,p' | \ + $(SED) 's,-,.,g' | \ + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD -- cgit v0.12