summaryrefslogtreecommitdiffstats
path: root/development/mono
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono')
-rw-r--r--development/mono/README3
-rw-r--r--development/mono/doinst.sh3
-rw-r--r--development/mono/mono.SlackBuild24
-rw-r--r--development/mono/mono.info10
4 files changed, 26 insertions, 14 deletions
diff --git a/development/mono/README b/development/mono/README
index e8f1d719d4..ce39213c0a 100644
--- a/development/mono/README
+++ b/development/mono/README
@@ -13,3 +13,6 @@ Note:
This is considered a "slightly more risky approach" to build Mono.
So, besides Mono sources, this SlackBuild uses a full featured
and precompiled Mono Compiler to bootstrap.
+
+ - After installing, it's recommended to run this command
+ /usr/bin/cert-sync /etc/ssl/certs/ca-certificates.crt
diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh
index 543cb6f4c9..20f7c6c342 100644
--- a/development/mono/doinst.sh
+++ b/development/mono/doinst.sh
@@ -29,6 +29,3 @@ config etc/mono/4.5/machine.config.new
config etc/mono/4.5/settings.map.new
config etc/mono/4.5/web.config.new
config etc/mono/4.5/Browsers/Compat.browser.new
-
-usr/bin/mono-sgen usr/lib/mono/4.5/cert-sync.exe /etc/ssl/certs/ca-certificates.crt
-
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 00681d3d7e..df297ada5e 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mono
# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
# Updated by Andre Barboza <bmg.andre@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mono
-VERSION=${VERSION:-5.0.1.1}
-MAJORVERSION=${MAJORVERSION:-5.0.1.1}
+VERSION=${VERSION:-6.12.0.122}
+MAJORVERSION=${MAJORVERSION:-6.12.0.122}
BIN_VERSION=${BIN_VERSION:-4.4.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$MAJORVERSION
chown -R root:root .
@@ -79,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Don't clobber the config files
@@ -120,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mono/mono.info b/development/mono/mono.info
index fa7740dbef..f8b4208686 100644
--- a/development/mono/mono.info
+++ b/development/mono/mono.info
@@ -1,13 +1,13 @@
PRGNAM="mono"
-VERSION="5.0.1.1"
+VERSION="6.12.0.122"
HOMEPAGE="https://www.mono-project.com/"
-DOWNLOAD="http://download.mono-project.com/sources/mono/mono-5.0.1.1.tar.bz2 \
+DOWNLOAD="https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz \
http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.4.2.11-i586.tar.bz2"
-MD5SUM="17692c7a797f95ee6f9a0987fda3d486 \
+MD5SUM="c63315bd37bee9c9cc6c6cfbc484434f \
3f974dba179a452bdcd94659ddc47e33"
-DOWNLOAD_x86_64="http://download.mono-project.com/sources/mono/mono-5.0.1.1.tar.bz2 \
+DOWNLOAD_x86_64="https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz \
http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.4.2.11-x86_64.tar.bz2"
-MD5SUM_x86_64="17692c7a797f95ee6f9a0987fda3d486 \
+MD5SUM_x86_64="c63315bd37bee9c9cc6c6cfbc484434f \
daba2c08651c68566ee1214e03d5a080"
REQUIRES="libgdiplus"
MAINTAINER="Andre Barboza"