[MLton-commit] r7326
Wesley Terpstra
wesley at mlton.org
Sun Nov 1 12:41:32 PST 2009
Fetch everything from the Experimental page; then links don't die.
----------------------------------------------------------------------
U mlton/trunk/package/mingw/Makefile
A mlton/trunk/package/mingw/dl/7zip.url
D mlton/trunk/package/mingw/dl/binutils.get
D mlton/trunk/package/mingw/dl/dlfcn.get
A mlton/trunk/package/mingw/dl/dlfcn32.url
A mlton/trunk/package/mingw/dl/dlfcn64.url
D mlton/trunk/package/mingw/dl/gcc.get
D mlton/trunk/package/mingw/dl/gdb.get
D mlton/trunk/package/mingw/dl/gmp.get
A mlton/trunk/package/mingw/dl/gmp32.url
D mlton/trunk/package/mingw/dl/gmp64.get
A mlton/trunk/package/mingw/dl/gmp64.url
A mlton/trunk/package/mingw/dl/mingw32.url
D mlton/trunk/package/mingw/dl/mingw64.get
A mlton/trunk/package/mingw/dl/mingw64.url
D mlton/trunk/package/mingw/dl/mirrors
D mlton/trunk/package/mingw/dl/msys.get
D mlton/trunk/package/mingw/dl/runtime.get
D mlton/trunk/package/mingw/dl/w32api.get
D mlton/trunk/package/mingw/dl/wget.get
A mlton/trunk/package/mingw/dl/wget.url
----------------------------------------------------------------------
Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/Makefile 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,5 +1,5 @@
MLTON=../../build/bin/mlton
-PKG=self32 self64 mingw32 mingw64 gmp32 gmp64 dlfcn32 dlfcn64 msys wget 7z
+PKG=self32 self64 mingw32 mingw64 gmp32 gmp64 dlfcn32 dlfcn64 msys wget 7zip
PKG_LST=$(patsubst %,%.lst,$(PKG))
PKG_WXS=$(patsubst %,%.wxs,$(PKG))
@@ -43,12 +43,20 @@
./staging/w64-constants > staging/lib/mlton/x86_64-w64-mingw32/constants
cd staging; find * -type f | grep -v self > ../$@.tmp
mv $@.tmp $@
-
-%.lst: dl/%.get self64.lst
- cd staging; . ../$< | tar --exclude postinstall -t -k | sed 's@^\./@@' > ../$@.tmp
- cd staging; . ../$< | tar -x
+
+%.7z: dl/%.url
+ wget -c -O $@.tmp `cat $<`
mv $@.tmp $@
+%.lst: dl/%.7z self64.lst
+ rm -rf staging.tmp
+ mkdir staging.tmp
+ cd staging.tmp; 7z x ../$<
+ cd staging.tmp; find . | sed 's@^\./@@' > $@.tmp
+ rm -rf staging.tmp
+ cd staging; 7z x ../$<
+ mv $@.tmp $@
+
%.wxs: %.lst
./files2cmp $(*F) < $< > $@
Added: mlton/trunk/package/mingw/dl/7zip.url
===================================================================
--- mlton/trunk/package/mingw/dl/7zip.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/7zip.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/7zip-4.65.7z
Deleted: mlton/trunk/package/mingw/dl/binutils.get
===================================================================
--- mlton/trunk/package/mingw/dl/binutils.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/binutils.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,7 +0,0 @@
-. ../dl/mirrors
-#f=binutils-2.19.1-mingw32-bin.tar.gz
-#get "$MINGW" "$f"
-#gzip -dc "$f"
-f=binutils-2.19.1-coffgen.tar.bz2
-get "$REBUILT" "$f"
-bzip2 -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/dlfcn.get
===================================================================
--- mlton/trunk/package/mingw/dl/dlfcn.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/dlfcn.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=dlfcn-win32-shared-r11.tar.bz2
-get "$GOOGLE" "$f"
-bzip2 -dc "$f"
Added: mlton/trunk/package/mingw/dl/dlfcn32.url
===================================================================
--- mlton/trunk/package/mingw/dl/dlfcn32.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/dlfcn32.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/dlfcn-win32-shared-r11.7z
Added: mlton/trunk/package/mingw/dl/dlfcn64.url
===================================================================
--- mlton/trunk/package/mingw/dl/dlfcn64.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/dlfcn64.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/dlfcn-win64-shared-r11.7z
Deleted: mlton/trunk/package/mingw/dl/gcc.get
===================================================================
--- mlton/trunk/package/mingw/dl/gcc.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gcc.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=gcc-core-3.4.5-20060117-3.tar.gz
-get "$MINGW" "$f"
-gzip -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/gdb.get
===================================================================
--- mlton/trunk/package/mingw/dl/gdb.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gdb.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=gdb-6.8-mingw-3.tar.bz2
-get "$MINGW" "$f"
-bzip2 -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/gmp.get
===================================================================
--- mlton/trunk/package/mingw/dl/gmp.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gmp.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=gmp-4.3.1-static.tar.bz2
-get "$REBUILT" "$f"
-bzip2 -dc "$f"
Added: mlton/trunk/package/mingw/dl/gmp32.url
===================================================================
--- mlton/trunk/package/mingw/dl/gmp32.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gmp32.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/gmp-4.3.1-w32-static.7z
Deleted: mlton/trunk/package/mingw/dl/gmp64.get
===================================================================
--- mlton/trunk/package/mingw/dl/gmp64.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gmp64.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=gmp-4.3.1-w64-static.tar.bz2
-get "$REBUILT" "$f"
-bzip2 -dc "$f"
Added: mlton/trunk/package/mingw/dl/gmp64.url
===================================================================
--- mlton/trunk/package/mingw/dl/gmp64.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/gmp64.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/gmp-4.3.1-w64-static.7z
Added: mlton/trunk/package/mingw/dl/mingw32.url
===================================================================
--- mlton/trunk/package/mingw/dl/mingw32.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/mingw32.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/mingw-w32-1.0-bin_i686-mingw_20091023.7z
Deleted: mlton/trunk/package/mingw/dl/mingw64.get
===================================================================
--- mlton/trunk/package/mingw/dl/mingw64.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/mingw64.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=mingw-w64_x86-64_mingw32_4.4.0-1.tar.bz2
-get "$REBUILT" "$f"
-bzip2 -dc "$f"
Added: mlton/trunk/package/mingw/dl/mingw64.url
===================================================================
--- mlton/trunk/package/mingw/dl/mingw64.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/mingw64.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/mingw-w64-1.0-bin_i686-mingw_20091023.7z
Deleted: mlton/trunk/package/mingw/dl/mirrors
===================================================================
--- mlton/trunk/package/mingw/dl/mirrors 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/mirrors 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,9 +0,0 @@
-MINGW=http://garr.dl.sourceforge.net/sourceforge/mingw
-GOOGLE=http://dlfcn-win32.googlecode.com/files
-REBUILT=http://mlton.org/pages/Experimental/attachments
-
-get () {
-mirror="$1"
-file="$2"
-test -f "$file" || (wget -O "$file.tmp" "$mirror/$file"; mv "$file.tmp" "$file")
-}
Deleted: mlton/trunk/package/mingw/dl/msys.get
===================================================================
--- mlton/trunk/package/mingw/dl/msys.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/msys.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=msysCORE-1.0.11-20080826.tar.gz
-get "$MINGW" "$f"
-gzip -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/runtime.get
===================================================================
--- mlton/trunk/package/mingw/dl/runtime.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/runtime.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=mingwrt-3.15.2-mingw32-dev.tar.gz
-get "$MINGW" "$f"
-gzip -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/w32api.get
===================================================================
--- mlton/trunk/package/mingw/dl/w32api.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/w32api.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=w32api-3.13-mingw32-dev.tar.gz
-get "$MINGW" "$f"
-gzip -dc "$f"
Deleted: mlton/trunk/package/mingw/dl/wget.get
===================================================================
--- mlton/trunk/package/mingw/dl/wget.get 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/wget.get 2009-11-01 20:41:31 UTC (rev 7326)
@@ -1,4 +0,0 @@
-. ../dl/mirrors
-f=wget.tar.bz2
-get "$REBUILT" "$f"
-bunzip2 -dc "$f"
Added: mlton/trunk/package/mingw/dl/wget.url
===================================================================
--- mlton/trunk/package/mingw/dl/wget.url 2009-11-01 20:25:50 UTC (rev 7325)
+++ mlton/trunk/package/mingw/dl/wget.url 2009-11-01 20:41:31 UTC (rev 7326)
@@ -0,0 +1 @@
+http://mlton.org/pages/Experimental/attachments/wget-1.9.1.7z
More information about the MLton-commit
mailing list