summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
author DhabyX2013-12-05 08:39:36 +0100
committer Robby Workman2013-12-06 07:00:36 +0100
commit93101b5e6b003dbb06e02d38d9b6a829c3e7e176 (patch)
treee67b05279a7e666eae533a806efa067f2ad2e2da /development
parenta61676792528fe96af2a365b512fc4199a353280 (diff)
downloadslackbuilds-93101b5e6b003dbb06e02d38d9b6a829c3e7e176.tar.gz
development/grails: Updated for version 2.3.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/grails/grails.SlackBuild23
-rw-r--r--development/grails/grails.info6
2 files changed, 13 insertions, 16 deletions
diff --git a/development/grails/grails.SlackBuild b/development/grails/grails.SlackBuild
index 45733f34f3..5f20850fce 100644
--- a/development/grails/grails.SlackBuild
+++ b/development/grails/grails.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for grails
-# Copyright (c) 2010, Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright (c) 2010-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
# This script is just a binary repackaging.
PRGNAM=grails
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-2.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,18 +41,15 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="INSTALL LICENSE README doc samples"
+DOCS="INSTALL LICENSE README doc"
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "athlonxp" ]; then
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -66,14 +63,14 @@ unzip $CWD/$PRGNAM-$VERSION.zip
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 {} \;
# Putting everyting in place
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
-cp -R {ant,bin,conf,cruise,dist,lib,media,plugins,scripts,src,build.properties,build.xml} \
+cp -R {bin,conf,dist,dsl-support,lib,media,plugins,scripts,src,build.properties} \
$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
mkdir -p $PKG/etc/profile.d
cp $CWD/grails.{csh,sh}.new $PKG/etc/profile.d/
@@ -81,8 +78,8 @@ sed -i "s|GRAILS_INSTALL_PATH|/usr/lib$LIBDIRSUFFIX/$PRGNAM|" \
$PKG/etc/profile.d/grails.{csh,sh}.new
chmod a+x $PKG/etc/profile.d/grails.*
-# Removing unnecessary files
-rm $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin/*.bat
+# Removing unnecessary .bat files
+find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/ -iname "*.bat" -exec rm {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/grails/grails.info b/development/grails/grails.info
index 925c0216e2..971358697c 100644
--- a/development/grails/grails.info
+++ b/development/grails/grails.info
@@ -1,8 +1,8 @@
PRGNAM="grails"
-VERSION="1.2.0"
+VERSION="2.3.3"
HOMEPAGE="http://www.grails.org/"
-DOWNLOAD="http://dist.codehaus.org/grails/grails-1.2.0.zip"
-MD5SUM="2eadcacff53bc327d162a449fe5ca2f7"
+DOWNLOAD="http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.3.3.zip"
+MD5SUM="dad203982e96bd7eae13450021550605"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"