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>
This commit is contained in:
Sebastián Salazar Molina 2013-12-03 00:19:24 +07:00 committed by Erik Hanson
parent 7ec156eccd
commit 0e00044ed9
3 changed files with 20 additions and 12 deletions

View file

@ -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

View file

@ -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

View file

@ -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"