aboutsummaryrefslogtreecommitdiff
path: root/development/mono/mono.SlackBuild
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 /development/mono/mono.SlackBuild
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>
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r--development/mono/mono.SlackBuild21
1 files changed, 13 insertions, 8 deletions
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