summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-01 16:20:40 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-01 16:20:40 (GMT)
commitce92c37791d614f32c727bda4bfc82222638c044 (patch)
treeba7f12a21cf27d40132e82484c741ba1c331bb85 /src
parent3b8612201efb3f4fbb4f202db2bb5f3498799580 (diff)
downloadmxe-ce92c37791d614f32c727bda4bfc82222638c044.zip
mxe-ce92c37791d614f32c727bda4bfc82222638c044.tar.gz
mxe-ce92c37791d614f32c727bda4bfc82222638c044.tar.bz2
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Diffstat (limited to 'src')
-rw-r--r--src/gcc-gmp.mk10
-rw-r--r--src/gcc-mpfr.mk8
2 files changed, 10 insertions, 8 deletions
diff --git a/src/gcc-gmp.mk b/src/gcc-gmp.mk
index 626959a..9d737b2 100644
--- a/src/gcc-gmp.mk
+++ b/src/gcc-gmp.mk
@@ -9,11 +9,13 @@ $(PKG)_CHECKSUM := 86dbd8a6b2fbb4c75760a80009227c9a11b801a9
$(PKG)_SUBDIR := gmp-$($(PKG)_VERSION)
$(PKG)_FILE := gmp-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.gmplib.org/
-$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/tdm-gcc/Sources/Vanilla Sources/gmp-$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL := ftp://ftp.gmplib.org/pub/$($(PKG)_SUBDIR)/$($(PKG)_FILE)
$(PKG)_DEPS :=
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/tdm-gcc/files/Sources/) | \
- $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://www.gmplib.org/' | \
+ grep '<a href="' | \
+ $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \
+ grep -v '^4\.' | \
+ head -1
endef
diff --git a/src/gcc-mpfr.mk b/src/gcc-mpfr.mk
index 8c57a64..e4d41dd 100644
--- a/src/gcc-mpfr.mk
+++ b/src/gcc-mpfr.mk
@@ -9,11 +9,11 @@ $(PKG)_CHECKSUM := 1f965793526cafefb30cda64cebf3712cb75b488
$(PKG)_SUBDIR := mpfr-$($(PKG)_VERSION)
$(PKG)_FILE := mpfr-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.mpfr.org/
-$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/tdm-gcc/Sources/Vanilla Sources/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS :=
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/tdm-gcc/files/Sources/) | \
- $(SED) -n 's,.*mpfr-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'https://gforge.inria.fr/scm/viewvc.php/tags/?root=mpfr&sortby=date' | \
+ $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \
+ head -1
endef