[Lunar-commits] <moonbase> groovy-bin: Initial import

Stefan Wold ratler at lunar-linux.org
Thu Aug 28 17:48:33 CEST 2008


commit f92c74b3982d378dfe199089d604d9e9f37a0f3d
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Thu Aug 28 17:48:33 2008 +0200

    groovy-bin: Initial import
---
 java/groovy-bin/BUILD               |   14 ++++++++++++++
 java/groovy-bin/DEPENDS             |    1 +
 java/groovy-bin/DETAILS             |   20 ++++++++++++++++++++
 java/groovy-bin/profile.d/groovy.rc |    2 ++
 4 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/java/groovy-bin/BUILD b/java/groovy-bin/BUILD
new file mode 100644
index 0000000..5bf773e
--- /dev/null
+++ b/java/groovy-bin/BUILD
@@ -0,0 +1,14 @@
+(
+
+  prepare_install &&
+  mkdir -p /opt/lunar/groovy/bin &&
+
+  cp -R lib embeddable conf /opt/lunar/groovy/ &&
+
+  for i in $(find $SOURCE_DIRECTORY/bin -type f ! -name "*.bat"); do
+    install -m 755 $i /opt/lunar/groovy/bin/
+  done &&
+
+  gather_docs NOTICE.txt LICENSE.txt ASM-LICENSE.txt
+
+) > $C_FIFO 2>&1
diff --git a/java/groovy-bin/DEPENDS b/java/groovy-bin/DEPENDS
new file mode 100644
index 0000000..a2a3495
--- /dev/null
+++ b/java/groovy-bin/DEPENDS
@@ -0,0 +1 @@
+depends %JAVA_SDK
diff --git a/java/groovy-bin/DETAILS b/java/groovy-bin/DETAILS
new file mode 100644
index 0000000..a813a93
--- /dev/null
+++ b/java/groovy-bin/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=groovy-bin
+         VERSION=1.5.6
+          SOURCE=groovy-binary-${VERSION}.zip
+      SOURCE_URL=http://dist.groovy.codehaus.org/distributions/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/groovy-$VERSION
+      SOURCE_VFY=sha1:10ca6369d2372824c2cbac811dd00e5655dec67a
+        WEB_SITE="http://groovy.codehaus.org/"
+         ENTERED=20080828
+         UPDATED=20080828
+           SHORT="An agile dynamic language for the Java Platform"
+cat <<EOF
+Groovy...
+
+Builds upon the strengths of Java but has additional power features
+inspired by languages like Python, Ruby and Smalltalk. Makes modern
+programming features available to Java developers with almost-zero
+learning curve. Increases developer productivity by reducing
+scaffolding code when developing web, GUI, database or console
+applications.
+EOF
diff --git a/java/groovy-bin/profile.d/groovy.rc b/java/groovy-bin/profile.d/groovy.rc
new file mode 100644
index 0000000..316a688
--- /dev/null
+++ b/java/groovy-bin/profile.d/groovy.rc
@@ -0,0 +1,2 @@
+export GROOVY_HOME=/opt/lunar/groovy
+export PATH=${PATH}:${GROOVY_HOME}/bin


More information about the Lunar-commits mailing list