[Lunar-commits] <moonbase> akka-bin: new module
Christian Krause
wookietreiber at lunar-linux.org
Thu Sep 8 12:13:23 CEST 2011
commit 8b2690e5d65b9cc90ff44dd42f10f74cb778dd3a
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date: Thu Sep 8 12:13:23 2011 +0200
akka-bin: new module
---
zbeta/akka-bin/BUILD | 34 ++++++++++++++++++++++++++++++++++
zbeta/akka-bin/CONFIGURE | 1 +
zbeta/akka-bin/DEPENDS | 1 +
zbeta/akka-bin/DETAILS | 21 +++++++++++++++++++++
zbeta/akka-bin/profile.d/akka.rc | 2 ++
5 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/zbeta/akka-bin/BUILD b/zbeta/akka-bin/BUILD
new file mode 100644
index 0000000..cf07193
--- /dev/null
+++ b/zbeta/akka-bin/BUILD
@@ -0,0 +1,34 @@
+(
+
+ # we don't need these
+ rm -f bin/akka.bat &&
+ rm -f doc/akka/samples/akka-sample-camel/bin/start.bat &&
+ rm -f doc/akka/samples/akka-sample-security/bin/start.bat &&
+ rm -f doc/akka/samples/akka-sample-hello/bin/start.bat &&
+ rm -f lib/scala-library.jar &&
+ rm -f deploy/akka-sample-hello-1.1.3.jar &&
+
+ sedit 's?boot = \["sample.hello.Boot"\]?boot = \[\]?' config/akka-reference.conf &&
+ sedit '/^AKKA_HOME=/d' bin/akka &&
+ sedit 's?$AKKA_HOME/lib/scala-library.jar?$SCALA_HOME/lib/*?' bin/akka &&
+ chmod 755 bin/akka &&
+
+ # do not install watch the config
+ mkdir -p /etc/akka &&
+ cp -n config/* /etc/akka &&
+ cp config/akka-reference.conf /etc/akka &&
+ ln -sf /etc/akka/* config/ &&
+
+ prepare_install &&
+
+ install -d /opt/akka &&
+ cp -r bin/ /opt/akka &&
+ cp -r config/ /opt/akka &&
+ cp -r deploy/ /opt/akka &&
+ cp -r lib/ /opt/akka &&
+
+ if [ ! "`get_module_config DOCS`" = "n" ] ; then
+ cp -r doc/ /opt/akka
+ fi
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/akka-bin/CONFIGURE b/zbeta/akka-bin/CONFIGURE
new file mode 100644
index 0000000..4214845
--- /dev/null
+++ b/zbeta/akka-bin/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Install docs (including API docs)?" n
diff --git a/zbeta/akka-bin/DEPENDS b/zbeta/akka-bin/DEPENDS
new file mode 100644
index 0000000..6780e4d
--- /dev/null
+++ b/zbeta/akka-bin/DEPENDS
@@ -0,0 +1 @@
+depends scala-bin
diff --git a/zbeta/akka-bin/DETAILS b/zbeta/akka-bin/DETAILS
new file mode 100644
index 0000000..9706dce
--- /dev/null
+++ b/zbeta/akka-bin/DETAILS
@@ -0,0 +1,21 @@
+ MODULE=akka-bin
+ MOD=akka-microkernel
+ VERSION=1.1.3
+ SOURCE=$MOD-$VERSION.zip
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MOD-$VERSION
+ SOURCE_URL=http://akka.io/downloads
+ SOURCE_VFY=sha1:2b9862f7c1aa275751e8c9f0c9add4be43ef64da
+ WEB_SITE=http://akka.io/
+ ENTERED=20110908
+ UPDATED=20110908
+ SHORT="akka microkernel, standalone app server"
+ LDD_CHECK=off
+ ARCHIVE=off
+
+cat << EOF
+Akka is the platform for the next generation event-driven,
+scalable and fault-tolerant architectures on the JVM.
+
+The Akka Microkernel includes all modules and is a stand-alone
+app server.
+EOF
diff --git a/zbeta/akka-bin/profile.d/akka.rc b/zbeta/akka-bin/profile.d/akka.rc
new file mode 100644
index 0000000..6dced09
--- /dev/null
+++ b/zbeta/akka-bin/profile.d/akka.rc
@@ -0,0 +1,2 @@
+export AKKA_HOME="/opt/akka"
+export PATH="$PATH:$AKKA_HOME/bin"
More information about the Lunar-commits
mailing list