aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Salazar Molina <sebastian@sebastian.cl>2013-12-03 00:19:24 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:03 -0600
commit0e00044ed979dfe857f147ab51bf4597a6d62a28 (patch)
tree1d59c2e58a8e891f09140d612e5b55b2ba32e3fe
parent7ec156eccdd442461d08b4f701532a04031f4f01 (diff)
development/mono: Updated for version 3.2.3.
Force march to i686 even on i486 to fix GCC bug. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/mono/doinst.sh5
-rw-r--r--development/mono/mono.SlackBuild21
-rw-r--r--development/mono/mono.info6
3 files changed, 20 insertions, 12 deletions
diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh
index a272d5aea8b50..47554f5fd9d66 100644
--- a/development/mono/doinst.sh
+++ b/development/mono/doinst.sh
@@ -23,4 +23,7 @@ config etc/mono/4.0/DefaultWsdlHelpGenerator.aspx.new
config etc/mono/4.0/machine.config.new
config etc/mono/4.0/settings.map.new
config etc/mono/4.0/web.config.new
-
+config etc/mono/4.5/DefaultWsdlHelpGenerator.aspx.new
+config etc/mono/4.5/machine.config.new
+config etc/mono/4.5/settings.map.new
+config etc/mono/4.5/web.config.new
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 22f401c62cf36..67abbfa664825 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -4,7 +4,7 @@
# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
PRGNAM=mono
-VERSION=${VERSION:-2.11.4}
+VERSION=${VERSION:-3.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -22,7 +22,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -45,10 +45,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,14 +83,19 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mv 4.0/machine.config 4.0/machine.config.new
mv 4.0/settings.map 4.0/settings.map.new
mv 4.0/web.config 4.0/web.config.new
+
+ mv 4.5/DefaultWsdlHelpGenerator.aspx 4.5/DefaultWsdlHelpGenerator.aspx.new
+ mv 4.5/machine.config 4.5/machine.config.new
+ mv 4.5/settings.map 4.5/settings.map.new
+ mv 4.5/web.config 4.5/web.config.new
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING.LIB LICENSE NEWS README \
+cp -ar \
+ AUTHORS ChangeLog COPYING.LIB LICENSE NEWS README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/mono/mono.info b/development/mono/mono.info
index 3d934220ee20c..1e1ec35a128d8 100644
--- a/development/mono/mono.info
+++ b/development/mono/mono.info
@@ -1,8 +1,8 @@
PRGNAM="mono"
-VERSION="2.11.4"
+VERSION="3.2.3"
HOMEPAGE="http://www.mono-project.com/"
-DOWNLOAD="http://download.mono-project.com/sources/mono/mono-2.11.4.tar.bz2"
-MD5SUM="5e295d670a0f71902cd26c45e7a5b1f3"
+DOWNLOAD="http://download.mono-project.com/sources/mono/mono-3.2.3.tar.bz2"
+MD5SUM="a66c6309fad071e21f77f4c6b67a0f10"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgdiplus"