summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/abcl/abcl-9999.ebuild')
-rw-r--r--dev-lisp/abcl/abcl-9999.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-lisp/abcl/abcl-9999.ebuild b/dev-lisp/abcl/abcl-9999.ebuild
index 3ccccdd6..9c8aa1d9 100644
--- a/dev-lisp/abcl/abcl-9999.ebuild
+++ b/dev-lisp/abcl/abcl-9999.ebuild
@@ -69,15 +69,11 @@ src_compile() {
}
src_install() {
- cat >abcl <<EOF
-#!/bin/sh
-exec \$(java-config-2 --java) -Xmx256M -Xrs \
- -Djava.library.path=/usr/$(get_libdir)/abcl/ -cp \
- \$(java-config-2 -p abcl) org.armedbear.lisp.Main "\$@"
-EOF
- dobin abcl
exeinto /usr/$(get_libdir)/abcl
doexe src/org/armedbear/lisp/libabcl.so
java-pkg_dojar abcl.jar
+ java-pkg_dolauncher "${PN}" \
+ --main "org.armedbear.lisp.Main" \
+ --java_args "-server -Xrs -Djava.library.path=/usr/$(get_libdir)/${PN}/"
dodoc README
}