aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2010-07-02 19:32:01 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-03 02:31:43 -0500
commit5e0d3a2f61d50efe401436f89657e14b14b66a33 (patch)
treefd6285077dcd0485963b2eecf8dc7d808a3d3bd9
parent00377bb4afe8129f154c8772be4dce0671ad09d8 (diff)
development/eclipse: Updated for version 3.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--development/eclipse/README13
-rw-r--r--development/eclipse/doinst.sh1
-rw-r--r--development/eclipse/eclipse.SlackBuild19
-rw-r--r--development/eclipse/eclipse.info8
4 files changed, 26 insertions, 15 deletions
diff --git a/development/eclipse/README b/development/eclipse/README
index 283a25b657cee..51245df2c68fa 100644
--- a/development/eclipse/README
+++ b/development/eclipse/README
@@ -1,6 +1,11 @@
Eclipse - An open-source, platform-independent software framework.
-Eclipse is an open source community whose projects are focused on
-building an open development platform comprised of extensible
-frameworks, tools and runtimes for building, deploying, and managing
-software across the lifecycle.
+Eclipse is an open source community whose projects are focused on building an
+open development platform comprised of extensible frameworks, tools, and
+runtimes for building, deploying, and managing software across the lifecycle.
+
+If you get an error when trying to start eclipse (from the command line) or
+trying to use its internal web browser (which depends on xulrunner), please
+check these threads:
+ http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-June/005979.html
+ http://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg03436.html
diff --git a/development/eclipse/doinst.sh b/development/eclipse/doinst.sh
index a06ab18ea8712..0fd8c0a792a50 100644
--- a/development/eclipse/doinst.sh
+++ b/development/eclipse/doinst.sh
@@ -1,4 +1,3 @@
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
diff --git a/development/eclipse/eclipse.SlackBuild b/development/eclipse/eclipse.SlackBuild
index 00209472d6767..7031ff0aa7af0 100644
--- a/development/eclipse/eclipse.SlackBuild
+++ b/development/eclipse/eclipse.SlackBuild
@@ -24,11 +24,18 @@
# This script is just a binary repackaging.
PRGNAM=eclipse
-VERSION=3.5.2
-ARCH=${ARCH:-i586}
+VERSION=3.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -43,14 +50,14 @@ cd $PKG/opt
# Untar source code tarball according with ARCH value
# ARCH can be 'i586' or 'x86_64'
if [ "$ARCH" = "x86_64" ]; then
- tar xvf $CWD/$PRGNAM-SDK-$VERSION-linux-gtk-$ARCH.tar.gz || exit 1
+ tar xvf $CWD/$PRGNAM-SDK-$VERSION-linux-gtk-$ARCH.tar.gz
+elif [ "$ARCH" = "i586" ]; then
+ tar xvf $CWD/$PRGNAM-SDK-$VERSION-linux-gtk.tar.gz
else
- tar xvf $CWD/$PRGNAM-SDK-$VERSION-linux-gtk.tar.gz || exit 1
- ARCH=i586
+ printf "$ARCH is not supported...\n" ; exit 1
fi
chown -R root:root .
-
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
diff --git a/development/eclipse/eclipse.info b/development/eclipse/eclipse.info
index 50b4eb4a3cf9b..003af7aff1291 100644
--- a/development/eclipse/eclipse.info
+++ b/development/eclipse/eclipse.info
@@ -1,10 +1,10 @@
PRGNAM="eclipse"
VERSION="3.5.2"
HOMEPAGE="http://www.eclipse.org"
-DOWNLOAD="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-linux-gtk.tar.gz"
-MD5SUM="bde55a2354dc224cf5f26e5320e72dac"
-DOWNLOAD_x86_64="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="54e2ce0660b2b1b0eb4267acf70ea66d"
+DOWNLOAD="http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/eclipse-SDK-3.6-linux-gtk.tar.gz"
+MD5SUM="5f14c2de0dd9d9af614a0be53121a326"
+DOWNLOAD_x86_64="http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/eclipse-SDK-3.6-linux-gtk-x86_64.tar.gz"
+MD5SUM_x86_64="8cefbf42bb8f08b814e32726bb207f25"
MAINTAINER="Antonio Hernández Blas"
EMAIL="hba.nihilismus@gmail.com"
APPROVED="rworkman"