diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2010-08-15 13:57:56 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-15 20:53:59 -0500 |
commit | b2e0b149f3f7183eea83f76a770f726a75225f95 (patch) | |
tree | ed3057b94b17a74c11e7408f41353474c17cf6a8 /development/monodevelop-debugger-mdb | |
parent | c46d69cc1adbb227ad6a9504a10dcfff7547b88f (diff) |
development/monodevelop-debugger-mdb: Added (Mono Debugger support for MonoDevelop)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/monodevelop-debugger-mdb')
4 files changed, 119 insertions, 0 deletions
diff --git a/development/monodevelop-debugger-mdb/README b/development/monodevelop-debugger-mdb/README new file mode 100644 index 0000000000000..c105b36fb7de2 --- /dev/null +++ b/development/monodevelop-debugger-mdb/README @@ -0,0 +1,15 @@ +Mono Debugger support for MonoDevelop. + +The Mono Soft Debugger is a new debugging framework for Mono. Unlike regular +debuggers which act as all-knowing and controlling programs that control a +separate process, the Mono Soft Debugger is actually a cooperative debugger +that is built into the Mono runtime. + +Applications communicate with the Mono runtime and request debugging +operations to be performed on the target process. + +The Mono Soft Debugger first became available with Mono 2.6 and is primarily +used today with Mono on the iPhone (http://monotouch.net) and is used from +the MonoDevelop IDE (http://monodevelop.com). + +This requires monodevelop and mono-debugger. diff --git a/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.SlackBuild b/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.SlackBuild new file mode 100644 index 0000000000000..12209f5e118eb --- /dev/null +++ b/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/sh + +# Slackware build script for MonoDevelop Debugger Support + +# Written by André Barboza <bmg.andre@gmail.com> + +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=monodevelop-debugger-mdb +VERSION=${VERSION:-2.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.info b/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.info new file mode 100644 index 0000000000000..10839814ae968 --- /dev/null +++ b/development/monodevelop-debugger-mdb/monodevelop-debugger-mdb.info @@ -0,0 +1,10 @@ +PRGNAM="monodevelop-debugger-mdb" +VERSION="2.4" +HOMEPAGE="http://monodevelop.com/" +DOWNLOAD="http://ftp.novell.com/pub/mono/sources/monodevelop-debugger-mdb/monodevelop-debugger-mdb-2.4.tar.bz2" +MD5SUM="b2a51036d55fef42f391adf23e6c5c2c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Andre Barboza" +EMAIL="bmg.andre@gmail.com" +APPROVED="Erik Hanson" diff --git a/development/monodevelop-debugger-mdb/slack-desc b/development/monodevelop-debugger-mdb/slack-desc new file mode 100644 index 0000000000000..08b694adf1bce --- /dev/null +++ b/development/monodevelop-debugger-mdb/slack-desc @@ -0,0 +1,19 @@ +# 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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +monodevelop-debugger-mdb: monodevelop-debugger-mdb (Mono Debugger support for MonoDevelop) +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: Debug applications with the Mono Soft Debugger. +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: +monodevelop-debugger-mdb: Homepage: http://monodevelop.com/ +monodevelop-debugger-mdb: |