summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-15 06:43:06 +0000
committerJay Freeman <saurik@saurik.com>2008-06-15 06:43:06 +0000
commitcda51018343dfbfc8b0190da3ae163a6f80d2524 (patch)
tree7661f2d0bdb75022b14d10a5d1942a57d79d3497
parentade2627cd39f7ac23e1961d2e54b0aa827af1d60 (diff)
JamVM should provide jvm and should setup the BOOTCLASSPATH in such a way that jikes works out of the box.
git-svn-id: http://svn.telesphoreo.org/trunk@314 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/jamvm/_metadata/provides1
-rwxr-xr-xdata/jamvm/jamvm.sh1
-rw-r--r--data/jamvm/make.sh2
3 files changed, 4 insertions, 0 deletions
diff --git a/data/jamvm/_metadata/provides b/data/jamvm/_metadata/provides
new file mode 100644
index 000000000..8f7c537e5
--- /dev/null
+++ b/data/jamvm/_metadata/provides
@@ -0,0 +1 @@
+jvm
diff --git a/data/jamvm/jamvm.sh b/data/jamvm/jamvm.sh
new file mode 100755
index 000000000..93607972d
--- /dev/null
+++ b/data/jamvm/jamvm.sh
@@ -0,0 +1 @@
+export BOOTCLASSPATH=/usr/share/jamvm/classes.zip:/usr/lib/rt.jar
diff --git a/data/jamvm/make.sh b/data/jamvm/make.sh
index 5a4606496..6eabcff9e 100644
--- a/data/jamvm/make.sh
+++ b/data/jamvm/make.sh
@@ -5,3 +5,5 @@ make with_classpath_install_dir="$(PKG_DEST_ classpath)/usr"
pkg:install
pkg: rm -rf /usr/include
pkg: ln -s jamvm /usr/bin/java
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/jamvm.sh /etc/profile.d