diff options
Diffstat (limited to 'development/monodevelop/monodevelop.SlackBuild')
-rw-r--r-- | development/monodevelop/monodevelop.SlackBuild | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild index 7defeb97e6..da9023eb7d 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 \ |