development/monodevelop: Updated for version 5.9.8.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andre Barboza 2015-10-29 19:36:36 +07:00 committed by Willy Sudiarto Raharjo
parent e762a67297
commit 2c6cc53078
2 changed files with 15 additions and 35 deletions

View file

@ -22,11 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=monodevelop
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
VERSION=${VERSION:-5.9.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -62,28 +58,14 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
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/
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 --strip-components 1 -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
# packages restored from nuget
pushd main
tar -xvf $CWD/$PRGNAM-$VERSION-packages.tar.gz
popd
chown -R root:root .
@ -93,6 +75,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
pushd main
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \

View file

@ -1,14 +1,10 @@
PRGNAM="monodevelop"
VERSION="5.7.0.660"
VERSION="5.9.8.0"
HOMEPAGE="http://monodevelop.com/"
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="http://sourceforge.net/projects/slackbuildsdirectlinks/files/monodevelop/monodevelop-5.9.8.0.tar.bz2 \
http://sourceforge.net/projects/slackbuildsdirectlinks/files/monodevelop/monodevelop-5.9.8.0-packages.tar.gz"
MD5SUM="17f19ad6e08981d4cb0c28c6e53a0a5f \
d551df9956482eb96f4e06ff6d8a5909"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk mono-addins gnome-sharp"