aboutsummaryrefslogtreecommitdiff
path: root/development/monodevelop
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2015-10-16 18:48:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-16 23:27:31 +0700
commit9e9495cf6ef28118566549656d8b6318c642f3b9 (patch)
treec3dc572183dc660556f390c8bddd8102cda76f72 /development/monodevelop
parent6776d56b59b92271d396aee55a54f52c9ba3cf6c (diff)
development/monodevelop: Updated for version 5.7.0.660.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/monodevelop')
-rw-r--r--development/monodevelop/monodevelop.SlackBuild33
-rw-r--r--development/monodevelop/monodevelop.info12
2 files changed, 38 insertions, 7 deletions
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild
index 7defeb97e661..da9023eb7d16 100644
--- a/development/monodevelop/monodevelop.SlackBuild
+++ b/development/monodevelop/monodevelop.SlackBuild
@@ -22,7 +22,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=monodevelop
-VERSION=${VERSION:-5.0.1}
+VERSION=${VERSION:-5.7.0.660}
+MAJOR_VERSION=5.7
+NUNIT_VERSION=2.6.3
+NUNIT_CECIL_VERSION=2.5.10
+NUNIT_CECIL_SRCVERSION=2.5.10.11092
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +62,30 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-0.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$MAJOR_VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$MAJOR_VERSION
+
+mkdir -p other_src
+pushd other_src
+
+# Monodevelop uses external NUnit framework (not shipped with Mono)
+unzip $CWD/NUnit-${NUNIT_VERSION}.zip
+mkdir -p ../packages/NUnit.${NUNIT_VERSION}/lib
+cp -rf NUnit-${NUNIT_VERSION}/bin/framework/* ../packages/NUnit.${NUNIT_VERSION}/lib
+mkdir -p ../packages/NUnit.Runners.${NUNIT_VERSION}/tools/lib
+cp -rf NUnit-${NUNIT_VERSION}/bin/lib/* ../packages/NUnit.Runners.${NUNIT_VERSION}/tools/lib
+
+# Cecil requires a different NUnit version
+unzip $CWD/NUnit-${NUNIT_CECIL_SRCVERSION}.zip
+cp -rf NUnit-${NUNIT_CECIL_SRCVERSION}/bin/net-2.0/framework/* ../external/cecil/Test/libs/nunit-${NUNIT_CECIL_VERSION}
+
+# Monodevelop requires nuget binaries
+unzip $CWD/2.8.1-monotouch-unified.zip
+cp -rf nuget-binary-2.8.1-monotouch-unified/* ../external/nuget-binary/
+
+popd
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/monodevelop/monodevelop.info b/development/monodevelop/monodevelop.info
index 747306261564..65d48f6b551f 100644
--- a/development/monodevelop/monodevelop.info
+++ b/development/monodevelop/monodevelop.info
@@ -1,8 +1,14 @@
PRGNAM="monodevelop"
-VERSION="5.0.1"
+VERSION="5.7.0.660"
HOMEPAGE="http://monodevelop.com/"
-DOWNLOAD="http://download.mono-project.com/sources/monodevelop/monodevelop-5.0.1-0.tar.bz2"
-MD5SUM="5f68aa384c7aa473fdd36da2f70117b4"
+DOWNLOAD="http://download.mono-project.com/sources/monodevelop/monodevelop-5.7.0.660.tar.bz2 \
+ https://github.com/mono/nuget-binary/archive/2.8.1-monotouch-unified.zip \
+ http://launchpad.net/nunitv2/trunk/2.6.3/+download/NUnit-2.6.3.zip \
+ http://launchpad.net/nunitv2/2.5/2.5.10/+download/NUnit-2.5.10.11092.zip"
+MD5SUM="ec4b6290f43915c205a6de55858a682f \
+ 886fb85f6079c7e7974e754591b9aa66 \
+ 0acd842acc761a0866a9b9750e3efca7 \
+ 8ea9a359d08d1b6e8ed908a54b352f8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk mono-addins gnome-sharp"