summaryrefslogtreecommitdiff
path: root/development/mono/mono.SlackBuild
diff options
context:
space:
mode:
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 22f401c62c..67abbfa664 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