diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2016-03-03 12:45:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-03 12:45:58 +0700 |
commit | 9da849cf7ea391285a651576f5834bf1abfc3200 (patch) | |
tree | a810619195554d36e28291a12b17869c51b9ee74 /development/mono | |
parent | 6e23f94fd8ed05b3a6632e338dc6ff68e0a7829b (diff) |
development/mono: Add bootstrap support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mono')
-rw-r--r-- | development/mono/README | 12 | ||||
-rw-r--r-- | development/mono/mono.SlackBuild | 8 | ||||
-rw-r--r-- | development/mono/mono.info | 12 |
3 files changed, 23 insertions, 9 deletions
diff --git a/development/mono/README b/development/mono/README index b7527e3835e6d..0cf9c6fb70504 100644 --- a/development/mono/README +++ b/development/mono/README @@ -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. diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild index 661ba102a88fc..3f8c259d92852 100644 --- a/development/mono/mono.SlackBuild +++ b/development/mono/mono.SlackBuild @@ -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 \ diff --git a/development/mono/mono.info b/development/mono/mono.info index ce5e778022a71..3cc8cb5fdfa55 100644 --- a/development/mono/mono.info +++ b/development/mono/mono.info @@ -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" |