diff options
author | Urs C. Muff <urs@mono-cvs.ximian.com> | 2004-05-21 16:24:55 +0400 |
---|---|---|
committer | Urs C. Muff <urs@mono-cvs.ximian.com> | 2004-05-21 16:24:55 +0400 |
commit | e18f32c0fd6bcca0f1b499bc71498836869b02ec (patch) | |
tree | b4310e0f03ec9b0d8a09e89a1811e2fd16fde810 /web/mono-build-mac-fw-release.sh | |
parent | 2a5ae6f05fb2fc57cc31fe43989a1ae972ce34a8 (diff) |
Line ending fix
svn path=/trunk/mono/; revision=27816
Diffstat (limited to 'web/mono-build-mac-fw-release.sh')
-rw-r--r-- | web/mono-build-mac-fw-release.sh | 440 |
1 files changed, 220 insertions, 220 deletions
diff --git a/web/mono-build-mac-fw-release.sh b/web/mono-build-mac-fw-release.sh index 033eea2879d..c8c0950f4dc 100644 --- a/web/mono-build-mac-fw-release.sh +++ b/web/mono-build-mac-fw-release.sh @@ -1,220 +1,220 @@ -#!/bin/sh
-
-# this horrid little script updates a mono revision
-# Author: Andy Satori <dru@satori-assoc.com>
-
-set -e
-
-INITIALDIR=$PWD
-VERSION=0.91
-PREFIX=/Library/Frameworks/Mono.framework/Versions/$VERSION
-
-export C_INCLUDE_PATH=$C_INCLUDE_PATH:$PREFIX/include
-export LDFLAGS=-L$PREFIX/lib
-export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/X11R6/lib:$PREFIX/lib
-
-if test ! -d "$INITIALDIR/Dependancies"; then
- mkdir $INITIALDIR/Dependancies
-fi
-
-# make the directories as need for the Framework (which isn't really
-# a framework, but it looks like one and makes a nice placeholder until
-# someone smarter than I am can come in and make it better)
-
-if test ! -d "/Library/Frameworks/Mono.framework"; then
- mkdir /Library/Frameworks/Mono.framework
- mkdir /Library/Frameworks/Mono.framework/Versions
-fi
-
-if test ! -d "/Library/Frameworks/Mono.framework/Versions/$VERSION"; then
- mkdir /Library/Frameworks/Mono.framework/Versions/$VERSION
-fi
-
-# set up the environment for the build
-export PATH=$PREFIX/bin:/usr/X11R6/bin:$PATH
-export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal/"
-export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R6/lib/pkgconfig
-
-
-cd $INITIALDIR/Dependancies
-
-# pkg-config
-
-echo +++ processing pkg-config
-
-if test ! -f "$PREFIX/bin/pkg-config"; then
- if test ! -d "pkgconfig-0.15.0"; then
- curl http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-0.15.0.tar.gz -O
- tar xzf pkgconfig-0.15.0.tar.gz
- rm pkgconfig-0.15.0.tar.gz
- fi
-
- cd pkgconfig-0.15.0
-
- ./configure --prefix=$PREFIX
- make
- make install
- make clean
-
- cd ..
-fi
-
-# gettext
-
-echo +++ processing gettext
-
-if test ! -f "$PREFIX/bin/gettext"; then
-
- if test ! -d "gettext-0.14.1"; then
- curl http://ftp.gnu.org/pub/gnu/gettext/gettext-0.14.1.tar.gz -O
- tar xzf gettext-0.14.1.tar.gz
- rm gettext-0.14.1.tar.gz
- fi
-
- cd gettext-0.14.1
-
- ./configure --prefix=$PREFIX
- make
- make install
- make clean
-
- cd ..
-fi
-
-# glib2
-
-echo +++ processing glib2
-
-if test ! -f "$PREFIX/lib/libgobject-2.0.la"; then
- if test ! -d "glib-2.4.0"; then
- curl ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.0.tar.gz -O
- tar xzf glib-2.4.0.tar.gz
- rm glib-2.4.0.tar.gz
- fi
-
- cd glib-2.4.0
-
- ./configure --prefix=$PREFIX
- make
- make install
- make clean
-
- cd ..
-fi
-
-# boehm gc
-
-echo +++ processing boehm gc
-
-if test ! -f "$PREFIX/lib/libgc.dylib"; then
- if test ! -d "gc6.3alpha6"; then
- curl http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3alpha5.tar.gz -O
- tar xzf gc6.3alpha5.tar.gz
- rm gc6.3alpha5.tar.gz
- fi
-
- cd gc6.3alpha5
-
- ./configure --prefix=$PREFIX --enable-thread=pthreads
- gnumake
- make install
- make clean
-
- cd ..
-fi
-
-# icu ( http://oss.software.ibm.com/icu/index.html )
-
-echo +++ processing ICU
-
-if test ! -f "$PREFIX/lib/libicuuc.dylib.28.0"; then
- if test ! -d "icu"; then
- curl ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz -O --disable-epsv
- tar xzf icu-2.8.tgz
- rm icu-2.8.tgz
- fi
-
- cd icu/source
-
- ./runConfigureICU MacOSX --with-data-packaging=library --prefix=$PREFIX --libdir=$PREFIX/lib/
- gnumake
- make install
- make clean
-
- cd $PREFIX/lib
-
- # libicudata
- install_name_tool -id $PREFIX/lib/libicudata.dylib.28 libicudata.dylib.28.0
-
- # libicui18n
- install_name_tool -id $PREFIX/lib/libicui18n.dylib.28 libicui18n.dylib.28.0
- install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicui18n.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicui18n.dylib.28.0
-
- # libicuio
- install_name_tool -id $PREFIX/lib/libicuio.dylib.28 libicuio.dylib.28.0
- install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicuio.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicuio.dylib.28.0
- install_name_tool -change libicui18n.dylib.28 $PREFIX/lib/libicui18n.dylib.28 libicuio.dylib.28.0
-
- # libicule
- install_name_tool -id $PREFIX/lib/libicule.dylib.28 libicule.dylib.28.0
- install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicule.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicule.dylib.28.0
-
- # libiculx
- install_name_tool -id $PREFIX/lib/libiculx.dylib.28 libiculx.dylib.28.0
- install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libiculx.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libiculx.dylib.28.0
- install_name_tool -change libicule.dylib.28 $PREFIX/lib/libicule.dylib.28 libiculx.dylib.28.0
-
- # libicutoolutil
- install_name_tool -id $PREFIX/lib/libicutoolutil.dylib.28 libicutoolutil.dylib.28.0
- install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicutoolutil.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicutoolutil.dylib.28.0
-
- # libicuuc
- install_name_tool -id $PREFIX/lib/libicuuc.dylib.28 libicuuc.dylib.28.0
- install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicuuc.dylib.28.0
-
- cd $INITIALDIR
-fi
-
-# mono
-
-echo +++ processing mono run-time libraries
-
-if test ! -f "$PREFIX/bin/mono"; then
- if test ! -d "$INITIALDIR/Bootstrap"; then
- mkdir $INITIALDIR/Bootstrap
- fi
- cd $INITIALDIR/Bootstrap
-
- if test ! -d "mono-$VERSION"; then
- curl http://www.go-mono.com/archive/beta1/mono-$VERSION.tar.gz -O
- tar xzf mono-$VERSION.tar.gz
- rm mono-$VERSION.tar.gz
- fi
-
- cd mono-$VERSION
-
- ./configure --prefix=$PREFIX --with-gc=boehm
- make
- make install
- make clean
-
- cd ..
-fi
-
-# setup the Current symlink
-
-cd /Library/Frameworks/Mono.framework/Versions
-
-if test -e "/Library/Frameworks/Mono.framework/Versions/Current"; then
- rm Current
-fi
-ln -s $VERSION Current
-
-# update the installer source files
-
-
+#!/bin/sh + +# this horrid little script updates a mono revision +# Author: Andy Satori <dru@satori-assoc.com> + +set -e + +INITIALDIR=$PWD +VERSION=0.91 +PREFIX=/Library/Frameworks/Mono.framework/Versions/$VERSION + +export C_INCLUDE_PATH=$C_INCLUDE_PATH:$PREFIX/include +export LDFLAGS=-L$PREFIX/lib +export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/X11R6/lib:$PREFIX/lib + +if test ! -d "$INITIALDIR/Dependancies"; then + mkdir $INITIALDIR/Dependancies +fi + +# make the directories as need for the Framework (which isn't really +# a framework, but it looks like one and makes a nice placeholder until +# someone smarter than I am can come in and make it better) + +if test ! -d "/Library/Frameworks/Mono.framework"; then + mkdir /Library/Frameworks/Mono.framework + mkdir /Library/Frameworks/Mono.framework/Versions +fi + +if test ! -d "/Library/Frameworks/Mono.framework/Versions/$VERSION"; then + mkdir /Library/Frameworks/Mono.framework/Versions/$VERSION +fi + +# set up the environment for the build +export PATH=$PREFIX/bin:/usr/X11R6/bin:$PATH +export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal/" +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R6/lib/pkgconfig + + +cd $INITIALDIR/Dependancies + +# pkg-config + +echo +++ processing pkg-config + +if test ! -f "$PREFIX/bin/pkg-config"; then + if test ! -d "pkgconfig-0.15.0"; then + curl http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-0.15.0.tar.gz -O + tar xzf pkgconfig-0.15.0.tar.gz + rm pkgconfig-0.15.0.tar.gz + fi + + cd pkgconfig-0.15.0 + + ./configure --prefix=$PREFIX + make + make install + make clean + + cd .. +fi + +# gettext + +echo +++ processing gettext + +if test ! -f "$PREFIX/bin/gettext"; then + + if test ! -d "gettext-0.14.1"; then + curl http://ftp.gnu.org/pub/gnu/gettext/gettext-0.14.1.tar.gz -O + tar xzf gettext-0.14.1.tar.gz + rm gettext-0.14.1.tar.gz + fi + + cd gettext-0.14.1 + + ./configure --prefix=$PREFIX + make + make install + make clean + + cd .. +fi + +# glib2 + +echo +++ processing glib2 + +if test ! -f "$PREFIX/lib/libgobject-2.0.la"; then + if test ! -d "glib-2.4.0"; then + curl ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.0.tar.gz -O + tar xzf glib-2.4.0.tar.gz + rm glib-2.4.0.tar.gz + fi + + cd glib-2.4.0 + + ./configure --prefix=$PREFIX + make + make install + make clean + + cd .. +fi + +# boehm gc + +echo +++ processing boehm gc + +if test ! -f "$PREFIX/lib/libgc.dylib"; then + if test ! -d "gc6.3alpha6"; then + curl http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3alpha6.tar.gz -O + tar xzf gc6.3alpha6.tar.gz + rm gc6.3alpha6.tar.gz + fi + + cd gc6.3alpha6 + + ./configure --prefix=$PREFIX --enable-thread=pthreads + gnumake + make install + make clean + + cd .. +fi + +# icu ( http://oss.software.ibm.com/icu/index.html ) + +echo +++ processing ICU + +if test ! -f "$PREFIX/lib/libicuuc.dylib.28.0"; then + if test ! -d "icu"; then + curl ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz -O --disable-epsv + tar xzf icu-2.8.tgz + rm icu-2.8.tgz + fi + + cd icu/source + + ./runConfigureICU MacOSX --with-data-packaging=library --prefix=$PREFIX --libdir=$PREFIX/lib/ + gnumake + make install + make clean + + cd $PREFIX/lib + + # libicudata + install_name_tool -id $PREFIX/lib/libicudata.dylib.28 libicudata.dylib.28.0 + + # libicui18n + install_name_tool -id $PREFIX/lib/libicui18n.dylib.28 libicui18n.dylib.28.0 + install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicui18n.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicui18n.dylib.28.0 + + # libicuio + install_name_tool -id $PREFIX/lib/libicuio.dylib.28 libicuio.dylib.28.0 + install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicuio.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicuio.dylib.28.0 + install_name_tool -change libicui18n.dylib.28 $PREFIX/lib/libicui18n.dylib.28 libicuio.dylib.28.0 + + # libicule + install_name_tool -id $PREFIX/lib/libicule.dylib.28 libicule.dylib.28.0 + install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicule.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicule.dylib.28.0 + + # libiculx + install_name_tool -id $PREFIX/lib/libiculx.dylib.28 libiculx.dylib.28.0 + install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libiculx.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libiculx.dylib.28.0 + install_name_tool -change libicule.dylib.28 $PREFIX/lib/libicule.dylib.28 libiculx.dylib.28.0 + + # libicutoolutil + install_name_tool -id $PREFIX/lib/libicutoolutil.dylib.28 libicutoolutil.dylib.28.0 + install_name_tool -change libicuuc.dylib.28 $PREFIX/lib/libicuuc.dylib.28 libicutoolutil.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicutoolutil.dylib.28.0 + + # libicuuc + install_name_tool -id $PREFIX/lib/libicuuc.dylib.28 libicuuc.dylib.28.0 + install_name_tool -change libicudata.dylib.28 $PREFIX/lib/libicudata.dylib.28 libicuuc.dylib.28.0 + + cd $INITIALDIR +fi + +# mono + +echo +++ processing mono run-time libraries + +if test ! -f "$PREFIX/bin/mono"; then + if test ! -d "$INITIALDIR/Bootstrap"; then + mkdir $INITIALDIR/Bootstrap + fi + cd $INITIALDIR/Bootstrap + + if test ! -d "mono-$VERSION"; then + curl http://www.go-mono.com/archive/beta1/mono-$VERSION.tar.gz -O + tar xzf mono-$VERSION.tar.gz + rm mono-$VERSION.tar.gz + fi + + cd mono-$VERSION + + ./configure --prefix=$PREFIX --with-gc=boehm + make + make install + make clean + + cd .. +fi + +# setup the Current symlink + +cd /Library/Frameworks/Mono.framework/Versions + +if test -e "/Library/Frameworks/Mono.framework/Versions/Current"; then + rm Current +fi +ln -s $VERSION Current + +# update the installer source files + + |