summaryrefslogtreecommitdiffstats
path: root/src/tinyxml.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/tinyxml.mk')
-rw-r--r--src/tinyxml.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tinyxml.mk b/src/tinyxml.mk
index 93ff40c..f690a6e 100644
--- a/src/tinyxml.mk
+++ b/src/tinyxml.mk
@@ -13,10 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_V
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/tinyxml/files/tinyxml/) | \
- $(SED) -n 's,.*tinyxml_\([0-9][^>]*\)\.tar.*,\1,p' | \
- $(SED) 's,_,.,g' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/tinyxml/files/tinyxml/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD