summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-05 01:21:01 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:03 -0600
commit2ed3d5cb2a6838f2c0190ae0f3f7b32194de41fb (patch)
tree639ec7e04f5e84ee8a31558fd227bf0bf62b7bcd
parentd0e0f4eedaec6f34e4d5d6099a920e7ca767d401 (diff)
downloadslackbuilds-2ed3d5cb2a6838f2c0190ae0f3f7b32194de41fb.tar.gz
development/monodevelop: Updated for version 4.2.1.
Added GIT support as well. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/monodevelop/README2
-rw-r--r--development/monodevelop/monodevelop.SlackBuild25
-rw-r--r--development/monodevelop/monodevelop.info6
3 files changed, 23 insertions, 10 deletions
diff --git a/development/monodevelop/README b/development/monodevelop/README
index 45a0a3c0b8..e079b6a90e 100644
--- a/development/monodevelop/README
+++ b/development/monodevelop/README
@@ -10,3 +10,5 @@ A workaround is to use a different GTK2 Theme; Adwaita,
Oxygen-Molecule, QtCurve, etc.
Another workaround is to set OXYGEN_DISABLE_INNER_SHADOWS_HACK=1
environment variable.
+
+This script will build with GIT support alongside with default SVN.
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild
index a002349098..89dd08b12c 100644
--- a/development/monodevelop/monodevelop.SlackBuild
+++ b/development/monodevelop/monodevelop.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=monodevelop
-VERSION=${VERSION:-4.0.10}
+VERSION=${VERSION:-4.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,8 +39,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -49,14 +59,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-7.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION-1.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
--prefix=/usr \
@@ -65,6 +75,7 @@ find -L . \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-git \
--disable-update-mimedb \
--disable-update-desktopdb
diff --git a/development/monodevelop/monodevelop.info b/development/monodevelop/monodevelop.info
index 4e434e7f06..7a361cc2f8 100644
--- a/development/monodevelop/monodevelop.info
+++ b/development/monodevelop/monodevelop.info
@@ -1,8 +1,8 @@
PRGNAM="monodevelop"
-VERSION="4.0.10"
+VERSION="4.2.1"
HOMEPAGE="http://monodevelop.com/"
-DOWNLOAD="http://download.mono-project.com/sources/monodevelop/monodevelop-4.0.10-7.tar.bz2"
-MD5SUM="54f25f1a1c6316aa7a95e3d196a9db81"
+DOWNLOAD="http://download.mono-project.com/sources/monodevelop/monodevelop-4.2.1-1.tar.bz2"
+MD5SUM="9d9cb295dc2cb638bded41edf77e36dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README% jdk mono-addins gnome-sharp"