diff src/expat.mk @ 1462:61dda1d437e2

improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 01 Dec 2010 03:44:21 +0100
parents 405738cf5761
children 4cea167451b8
line wrap: on
line diff
--- a/src/expat.mk	Wed Dec 01 03:35:36 2010 +0100
+++ b/src/expat.mk	Wed Dec 01 03:44:21 2010 +0100
@@ -13,9 +13,9 @@
 $(PKG)_DEPS     := gcc
 
 define $(PKG)_UPDATE
-    $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/expat/files/) | \
-    $(SED) -n 's,.*expat-\([0-9][^>]*\)\.tar.*,\1,p' | \
-    tail -1
+    wget -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \
+    $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+    head -1
 endef
 
 define $(PKG)_BUILD