summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8d4ff275e3..b7527e3835 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 4012a4d3ef..f1373abe67 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 549bcb730d..320b950fd5 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"