summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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