summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelian Ionescu <sionescu@common-lisp.net>2008-09-14 13:28:09 +0200
committerStelian Ionescu <sionescu@common-lisp.net>2008-09-14 13:28:09 +0200
commit59b9c8798a292662264ad5c6a6291abcf9311d3b (patch)
tree3925b9dd7335f7a5de829f351b0ded525e57b7b6 /dev-lisp/abcl
parentdev-lisp/abcl: cleanup (diff)
downloadlisp-59b9c8798a292662264ad5c6a6291abcf9311d3b.tar.gz
lisp-59b9c8798a292662264ad5c6a6291abcf9311d3b.tar.bz2
lisp-59b9c8798a292662264ad5c6a6291abcf9311d3b.zip
dev-lisp/abcl: better launcher
Diffstat (limited to 'dev-lisp/abcl')
-rw-r--r--dev-lisp/abcl/Manifest4
-rw-r--r--dev-lisp/abcl/abcl-0.0.10.ebuild10
-rw-r--r--dev-lisp/abcl/abcl-9999.ebuild10
3 files changed, 8 insertions, 16 deletions
diff --git a/dev-lisp/abcl/Manifest b/dev-lisp/abcl/Manifest
index 52a5c6a3..fe4f0792 100644
--- a/dev-lisp/abcl/Manifest
+++ b/dev-lisp/abcl/Manifest
@@ -1,4 +1,4 @@
DIST abcl-0.0.10.tar.gz 632987 RMD160 3ba587b45f75dc481dad62431c2557bd549acf89 SHA1 fafca12aaba83a67063fe673cc8370ec8b8eb39e SHA256 4139f38ba1a156f49f72f50e0621b2bbd421aa000c7da90ce27c54a1ed4d55f6
-EBUILD abcl-0.0.10.ebuild 1850 RMD160 665896fecdd92e5893e9beaa35c06d08ea8a5313 SHA1 94e177726ff426455b6ebe98ecdcae4fd7ff31cb SHA256 c819b68e2fc9a2e4e5668e24a072feeba270229ebf09caac022de54d30da2c35
-EBUILD abcl-9999.ebuild 2049 RMD160 14c85d60f46655e0b385f8f10e02c2bc42bcac4c SHA1 e1b4bfd9f7f7d11cb44f3773a120b59274c306ec SHA256 fd4781dad436d104c9169a91b7eeb204a117625c925fc77c7f07ce45b6f62e83
+EBUILD abcl-0.0.10.ebuild 1795 RMD160 e8481ec0af7e65bdd4822a8247227429fab23d4e SHA1 eba560c6ec936b0f155bc2936a8600d2524a4114 SHA256 6c06b99b84f80494184b17746e087afd3b7ef7f7598c8097920d07c455d82b30
+EBUILD abcl-9999.ebuild 1994 RMD160 ba893721d149d00bf5471818f0c8a17de5feb0be SHA1 ee3973f7e6c28267b272b5b4053f68566907aedb SHA256 b84ebcb15e177d59ab965399a0df1cdeb1594aa6f5195111f592b07dd6ed7b5a
MISC metadata.xml 164 RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 SHA1 2f781e1fca36d790a027079805d56cf397e6a6f8 SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f
diff --git a/dev-lisp/abcl/abcl-0.0.10.ebuild b/dev-lisp/abcl/abcl-0.0.10.ebuild
index 8a0e113e..8ee3b6d7 100644
--- a/dev-lisp/abcl/abcl-0.0.10.ebuild
+++ b/dev-lisp/abcl/abcl-0.0.10.ebuild
@@ -57,15 +57,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
}
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
}