summaryrefslogtreecommitdiffstats
path: root/src/freeglut.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-10-27 11:38:48 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-10-27 11:38:48 (GMT)
commit091a6d932d3eb1821fe100042224642170779c23 (patch)
treeb0619571413ff609f4d9d07bfd55bcc5b3f5b038 /src/freeglut.mk
parentbb280a523131acfc0822551bc662727b741e1384 (diff)
downloadmxe-091a6d932d3eb1821fe100042224642170779c23.zip
mxe-091a6d932d3eb1821fe100042224642170779c23.tar.gz
mxe-091a6d932d3eb1821fe100042224642170779c23.tar.bz2
improved version recognition of package freeglut
Diffstat (limited to 'src/freeglut.mk')
-rw-r--r--src/freeglut.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/freeglut.mk b/src/freeglut.mk
index 7a8a2f1..59745af 100644
--- a/src/freeglut.mk
+++ b/src/freeglut.mk
@@ -13,11 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeglut/freeglut/$(word
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- wget -q -O- 'http://freeglut.svn.sourceforge.net/viewvc/freeglut/tags/?sortby=date' | \
- grep '<a name="' | \
- $(SED) -n 's,.*<a name="FG_\([0-9][^"]*\)".*,\1,p' | \
- $(SED) 's,_RC,-rc,g; s,_,.,g' | \
- head -1
+ $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/freeglut/files/) | \
+ $(SED) -n 's,.*freeglut-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ tail -1
endef
define $(PKG)_BUILD