development/mono: Add bootstrap support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6e23f94fd8
commit
9da849cf7e
|
@ -5,11 +5,13 @@ Language Runtime. We feel that by embracing a successful, standardized
|
|||
software platform, we can lower the barriers to producing great applications
|
||||
for Linux.
|
||||
|
||||
|
||||
Notes from https://github.com/mono/mono:
|
||||
Note:
|
||||
- Mono build relies on a working Mono C# compiler to compile itself
|
||||
(also known as bootstrapping).
|
||||
If you don't have a working Mono installation, the build process would
|
||||
use the 'monolite' distribution, which contains just enough to run the
|
||||
'mcs' compiler.
|
||||
This is considered a "slightly more risky approach" to build Mono, so
|
||||
this SlackBuild uses a full featured precompiled Mono Compiler to
|
||||
bootstrap.
|
||||
|
||||
- If you don't have a working Mono installation, the build process uses
|
||||
the 'monolite' distribution, which contains just enough to run the 'mcs'
|
||||
compiler. This is considered a "slightly more risky approach" to build Mono.
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
PRGNAM=mono
|
||||
VERSION=${VERSION:-4.2.2.30}
|
||||
MAJORVERSION=${MAJORVERSION:-4.2.2}
|
||||
BIN_VERSION=${BIN_VERSION:-4.2.2.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -53,6 +54,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Use full featured precompiled mono version instead of monolite
|
||||
pushd $TMP
|
||||
rm -rf $PRGNAM-$BIN_VERSION-$ARCH
|
||||
tar xvf $CWD/$PRGNAM-$BIN_VERSION-$ARCH.tar.bz2
|
||||
export PATH="$TMP/$PRGNAM-$BIN_VERSION-$ARCH/usr/bin:$PATH"
|
||||
popd
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
PRGNAM="mono"
|
||||
VERSION="4.2.2.30"
|
||||
HOMEPAGE="http://www.mono-project.com/"
|
||||
DOWNLOAD="http://download.mono-project.com/sources/mono/mono-4.2.2.30.tar.bz2"
|
||||
MD5SUM="2c5358041c931b8c1eabf0544565c9a3"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
DOWNLOAD="http://download.mono-project.com/sources/mono/mono-4.2.2.30.tar.bz2 \
|
||||
http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.2.2.10-i486.tar.bz2"
|
||||
MD5SUM="2c5358041c931b8c1eabf0544565c9a3 \
|
||||
9cd8ec7d5f050c4157cab522ddcae7cf"
|
||||
DOWNLOAD_x86_64="http://download.mono-project.com/sources/mono/mono-4.2.2.30.tar.bz2 \
|
||||
http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.2.2.10-x86_64.tar.bz2"
|
||||
MD5SUM_x86_64="2c5358041c931b8c1eabf0544565c9a3 \
|
||||
c3497d21f3fd486fc839abdd675dcabf"
|
||||
REQUIRES="libgdiplus"
|
||||
MAINTAINER="Andre Barboza"
|
||||
EMAIL="bmg.andre@gmail.com"
|
||||
|
|
Loading…
Reference in New Issue