summaryrefslogtreecommitdiffstats
path: root/src/mingwrt.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-08-10 11:24:12 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-08-10 11:24:12 (GMT)
commit2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2 (patch)
tree4e50fc5d573c175a26a0d14aca3cccfb6a1deb12 /src/mingwrt.mk
parentd06801044778f94cd571866808dea769c139252b (diff)
downloadmxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.zip
mxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.tar.gz
mxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.tar.bz2
improved version recognition for sourceforge packages
Diffstat (limited to 'src/mingwrt.mk')
-rw-r--r--src/mingwrt.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mingwrt.mk b/src/mingwrt.mk
index e05af77..a13f2b4 100644
--- a/src/mingwrt.mk
+++ b/src/mingwrt.mk
@@ -10,10 +10,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/mingw/$($(PKG)_FILE)
$(PKG)_DEPS :=
define $(PKG)_UPDATE
- wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11598' | \
- grep 'mingwrt-' | \
+ $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW Runtime/) | \
$(SED) -n 's,.*mingwrt-\([0-9][^>]*\)-dev\.tar.*,\1,p' | \
- head -1
+ tail -1
endef
define $(PKG)_BUILD