summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelian Ionescu <sionescu@common-lisp.net>2007-07-14 12:06:10 +0200
committerStelian Ionescu <sionescu@common-lisp.net>2007-07-14 12:06:10 +0200
commit8fe572047e795bacbd88f415af3f9b9b0adf271d (patch)
tree35984a6492bd59553d0ffeb241ea3fe4ff804d75 /dev-lisp/abcl
parentAdding newlisp-9.1.1 ebuild. Tested on x86 with the following USE (diff)
downloadlisp-8fe572047e795bacbd88f415af3f9b9b0adf271d.tar.gz
lisp-8fe572047e795bacbd88f415af3f9b9b0adf271d.tar.bz2
lisp-8fe572047e795bacbd88f415af3f9b9b0adf271d.zip
Added dev-lisp/abcl
Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>
Diffstat (limited to 'dev-lisp/abcl')
-rw-r--r--dev-lisp/abcl/Manifest16
-rw-r--r--dev-lisp/abcl/abcl-0.0.9.ebuild71
-rw-r--r--dev-lisp/abcl/files/digest-abcl-0.0.93
-rw-r--r--dev-lisp/abcl/metadata.xml5
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-lisp/abcl/Manifest b/dev-lisp/abcl/Manifest
new file mode 100644
index 00000000..26ef1297
--- /dev/null
+++ b/dev-lisp/abcl/Manifest
@@ -0,0 +1,16 @@
+DIST abcl-0.0.9.tar.gz 592410 RMD160 58e158733665865009d414c1a99d2aec90cf59c1 SHA1 114f8f0049fd7820bdab524f6c83a0ef2831c149 SHA256 ee634443a4a77b2bb9324fa4ff900b15aea5081042fde039045b535d28a8049b
+EBUILD abcl-0.0.9.ebuild 2072 RMD160 7d66e0fc97d24ee0eb4e78f589ec2ec0b636c073 SHA1 48a81ccb102e8c3b1cf52915a27b4998a8fa71b4 SHA256 0aa618e3312fea61d780ef6011607ced61921ac45d3a850f01b9e11a7170ffef
+MD5 81642569112a5f8e42e52a7ad879b187 abcl-0.0.9.ebuild 2072
+RMD160 7d66e0fc97d24ee0eb4e78f589ec2ec0b636c073 abcl-0.0.9.ebuild 2072
+SHA256 0aa618e3312fea61d780ef6011607ced61921ac45d3a850f01b9e11a7170ffef abcl-0.0.9.ebuild 2072
+MISC ChangeLog 592 RMD160 e7c8d959fddd872b7909bf304c48e08f6b5e9ace SHA1 c4fc3ace7371e69b5df75b7b823e3e5e19f264ef SHA256 7a75ded3795a610e68a8bb765f529788ce2ccbce431b3b29429189d42223f4c2
+MD5 5c35885cf31919ad9b47f36bc6d95c2f ChangeLog 592
+RMD160 e7c8d959fddd872b7909bf304c48e08f6b5e9ace ChangeLog 592
+SHA256 7a75ded3795a610e68a8bb765f529788ce2ccbce431b3b29429189d42223f4c2 ChangeLog 592
+MISC metadata.xml 164 RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 SHA1 2f781e1fca36d790a027079805d56cf397e6a6f8 SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 metadata.xml 164
+SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f metadata.xml 164
+MD5 9171aa60482255da68a24d68b24f53c7 files/digest-abcl-0.0.9 232
+RMD160 a3cdd0f1ae0a98f730832bbf08a6a9e56315cf1c files/digest-abcl-0.0.9 232
+SHA256 9d36b144300ea4a234ec627e24afea4e9339e726246be602e1130aea60878d39 files/digest-abcl-0.0.9 232
diff --git a/dev-lisp/abcl/abcl-0.0.9.ebuild b/dev-lisp/abcl/abcl-0.0.9.ebuild
new file mode 100644
index 00000000..a0f4782f
--- /dev/null
+++ b/dev-lisp/abcl/abcl-0.0.9.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/abcl/abcl-0.0.9.ebuild,v 1.1 2006/01/11 23:51:00 mkennedy Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Armed Bear Common Lisp (ABCL) is an implementation of ANSI Common Lisp that runs in a Java virtual machine."
+HOMEPAGE="http://armedbear.org/abcl.html"
+SRC_URI="http://armedbear.org/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="jad jikes clisp cmucl"
+
+RDEPEND=">=virtual/jdk-1.4
+ jad? ( dev-java/jad-bin )"
+
+DEPEND=">=virtual/jdk-1.4
+ !cmucl? ( !clisp? ( dev-lisp/sbcl ) )
+ cmucl? ( dev-lisp/cmucl )
+ clisp? ( dev-lisp/clisp )
+ jikes? ( dev-java/jikes )"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ local java_compiler="javac"
+ use jikes && java_compiler="jikes"
+ cat >${S}/customizations.lisp <<EOF
+(in-package #:build-abcl)
+(setf
+*javac-options* "-g"
+*jikes-options* "+D -g"
+*jdk* "$(java-config --jdk-home)/"
+*java-compiler* "$java_compiler"
+*jar* "jar")
+EOF
+ einfo "Building with the following customizations.lisp:"
+ cat ${S}/customizations.lisp
+ cat >${S}/build.lisp <<'EOF'
+(progn (load "build-abcl") (funcall (intern "BUILD-ABCL" "BUILD-ABCL") :clean t :full t) #+sbcl (sb-ext:quit) #+clisp (ext:quit) #+cmu (extensions:quit))
+EOF
+}
+
+src_compile() {
+ local lisp_compiler lisp_compiler_args
+ if use clisp; then
+ lisp_compiler="clisp"
+ lisp_compiler_args="-ansi build.lisp"
+ elif use cmucl; then
+ lisp_compiler="lisp"
+ lisp_compiler_args="-noinit -nositeinit -batch -load build.lisp"
+ else
+ lisp_compiler="sbcl"
+ lisp_compiler_args="--sysinit /dev/null --userinit /dev/null --disable-debugger --load build.lisp"
+ fi
+ $lisp_compiler $lisp_compiler_args || die
+}
+
+src_install() {
+ cat >abcl <<EOF
+#!/bin/sh
+exec \$(java-config --java) -Xmx256M -Xrs -Djava.library.path=/usr/$(get_libdir)/abcl/ -cp \$(java-config -p abcl) org.armedbear.lisp.Main "\$@"
+EOF
+ dobin abcl
+ insinto /usr/$(get_libdir)/abcl
+ doins src/org/armedbear/lisp/libabcl.so
+ java-pkg_dojar abcl.jar
+ dodoc README COPYING
+}
diff --git a/dev-lisp/abcl/files/digest-abcl-0.0.9 b/dev-lisp/abcl/files/digest-abcl-0.0.9
new file mode 100644
index 00000000..8eaaf54d
--- /dev/null
+++ b/dev-lisp/abcl/files/digest-abcl-0.0.9
@@ -0,0 +1,3 @@
+MD5 232aa470e0fc3c6181d7a2650d5c2348 abcl-0.0.9.tar.gz 592410
+RMD160 58e158733665865009d414c1a99d2aec90cf59c1 abcl-0.0.9.tar.gz 592410
+SHA256 ee634443a4a77b2bb9324fa4ff900b15aea5081042fde039045b535d28a8049b abcl-0.0.9.tar.gz 592410
diff --git a/dev-lisp/abcl/metadata.xml b/dev-lisp/abcl/metadata.xml
new file mode 100644
index 00000000..f418045b
--- /dev/null
+++ b/dev-lisp/abcl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+</pkgmetadata>