summaryrefslogtreecommitdiffstats
path: root/recipes-core/rhino/rhino
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2011-11-12 20:58:34 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2011-11-26 23:41:44 +0100
commit57e069cde6617f00ca8834a82c6f360af43d5067 (patch)
tree48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/rhino/rhino
downloadmeta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz
meta-java: initial commit
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native
Diffstat (limited to 'recipes-core/rhino/rhino')
-rw-r--r--recipes-core/rhino/rhino/rhino8
-rw-r--r--recipes-core/rhino/rhino/rhino-jsc8
2 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/rhino/rhino/rhino b/recipes-core/rhino/rhino/rhino
new file mode 100644
index 0000000..e2f87f6
--- /dev/null
+++ b/recipes-core/rhino/rhino/rhino
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3if [ ! $JAVA ]; then
4 JAVA=java
5fi
6
7$JAVA -jar /usr/share/java/js.jar $@
8
diff --git a/recipes-core/rhino/rhino/rhino-jsc b/recipes-core/rhino/rhino/rhino-jsc
new file mode 100644
index 0000000..d5f50e8
--- /dev/null
+++ b/recipes-core/rhino/rhino/rhino-jsc
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3if [ ! $JAVA ]; then
4 JAVA=java
5fi
6
7$JAVA -cp .:/usr/share/java/js.jar org.mozilla.javascript.tools.jsc.Main $@
8