aboutsummaryrefslogtreecommitdiff
path: root/development/mono
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2015-12-22 18:59:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-29 11:56:12 +0700
commit127db88ff5358ac74653f82ad3755bd0cb46fb4b (patch)
tree3a7e041414f6aba1731dd57e685585e9292b411a /development/mono
parent85abd528cb9ce15056579bc0033d4c89ad32360d (diff)
development/mono: Updated for version 4.2.2.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mono')
-rw-r--r--development/mono/README9
-rw-r--r--development/mono/mono.SlackBuild7
-rw-r--r--development/mono/mono.info8
3 files changed, 17 insertions, 7 deletions
diff --git a/development/mono/README b/development/mono/README
index 8d4ff275e3616..b7527e3835e6d 100644
--- a/development/mono/README
+++ b/development/mono/README
@@ -4,3 +4,12 @@ Microsoft's .Net Framework based on the ECMA standards for C# and the Common
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:
+ - 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 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 4012a4d3efd60..f1373abe67f63 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -5,7 +5,8 @@
# Updated by Andre Barboza <bmg.andre@gmail.com>
PRGNAM=mono
-VERSION=${VERSION:-3.12.1}
+VERSION=${VERSION:-4.2.2.10}
+MAJORVERSION=${MAJORVERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +44,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$MAJORVERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -51,7 +53,6 @@ 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 {} \;
-# Fix libgdiplus library path
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/development/mono/mono.info b/development/mono/mono.info
index 549bcb730d4cb..320b950fd5dd8 100644
--- a/development/mono/mono.info
+++ b/development/mono/mono.info
@@ -1,10 +1,10 @@
PRGNAM="mono"
-VERSION="3.12.1"
+VERSION="4.2.2.10"
HOMEPAGE="http://www.mono-project.com/"
-DOWNLOAD="http://download.mono-project.com/sources/mono/mono-3.12.1.tar.bz2"
-MD5SUM="ccab015f0c54ffeccd2924b44885809c"
+DOWNLOAD="http://download.mono-project.com/sources/mono/mono-4.2.2.10.tar.bz2"
+MD5SUM="16644eab7d890e568d34a18e93e7a878"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libgdiplus"
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"