summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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