diff options
-rw-r--r-- | development/mono/README | 1 | ||||
-rw-r--r-- | development/mono/doinst.sh | 5 | ||||
-rw-r--r-- | development/mono/mono.SlackBuild | 11 | ||||
-rw-r--r-- | development/mono/mono.info | 8 | ||||
-rw-r--r-- | development/mono/slack-desc | 12 |
5 files changed, 23 insertions, 14 deletions
diff --git a/development/mono/README b/development/mono/README index 11896f4f32..c58a798cf4 100644 --- a/development/mono/README +++ b/development/mono/README @@ -2,4 +2,3 @@ Mono is a Open Source implementation of the .NET Framework: it is made up of a runtime engine that implements the ECMA Common Language Infrastructure (CLI), a set of compilers that target the CLI, and a large collection of class libraries. - diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh index 46717d884a..6dc7f79d97 100644 --- a/development/mono/doinst.sh +++ b/development/mono/doinst.sh @@ -1,11 +1,11 @@ config() { NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" + OLD="$(dirname $NEW)/$(basename $NEW .new)" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy rm $NEW fi @@ -19,3 +19,4 @@ config etc/mono/2.0/web.config.new config etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new config etc/mono/config.new config etc/mono/browscap.ini.new + diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild index 26bd9e4132..0cbe6936fa 100644 --- a/development/mono/mono.SlackBuild +++ b/development/mono/mono.SlackBuild @@ -24,12 +24,10 @@ # Modified by the SlackBuilds.org project -set -e - PRGNAM=mono -VERSION=1.2.2.1 +VERSION=1.2.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -42,13 +40,14 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION - chown -R root:root . chmod -R u+w,go+r-w,a-s . diff --git a/development/mono/mono.info b/development/mono/mono.info index 0207712f62..2876422365 100644 --- a/development/mono/mono.info +++ b/development/mono/mono.info @@ -1,8 +1,8 @@ PRGNAM="mono" -VERSION="1.2.2.1" +VERSION="1.2.4" HOMEPAGE="http://www.mono-project.com" -DOWNLOAD="http://go-mono.com/sources/mono/mono-1.2.2.1.tar.gz" -MD5SUM="b67ef657b83ca26249d7b9e9c5e7da69" +DOWNLOAD="http://go-mono.com/sources/mono/mono-1.2.4.tar.bz2" +MD5SUM="1d106acef8e3af3593c779f281541a0b" MAINTAINER="Martin Lefebvre" EMAIL="dadexter@gmail.com" -APPROVED="robw810" +APPROVED="rworkman" diff --git a/development/mono/slack-desc b/development/mono/slack-desc index ee45ff1ed8..dc1c6e16c5 100644 --- a/development/mono/slack-desc +++ b/development/mono/slack-desc @@ -1,4 +1,12 @@ -mono: Mono +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +mono: Mono (Open Source implementation of the .NET Framework) mono: mono: Mono is a Open Source implementation of the .NET Framework: it mono: is made up of a runtime engine that implements the ECMA Common @@ -7,3 +15,5 @@ mono: the CLI, and a large collection of class libraries. mono: mono: mono: +mono: +mono: |