summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-01-11 23:51:00 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-01-11 23:51:00 +0000
commitb0cc84d38cea66cfe480706ff140f567b141f5dd (patch)
treefb5b628b8ebb419fb5bca10e1565d37a9b183779 /dev-lisp
parentAdded ~amd64 keyword. (diff)
downloadhistorical-b0cc84d38cea66cfe480706ff140f567b141f5dd.tar.gz
historical-b0cc84d38cea66cfe480706ff140f567b141f5dd.tar.bz2
historical-b0cc84d38cea66cfe480706ff140f567b141f5dd.zip
Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/abcl/ChangeLog10
-rw-r--r--dev-lisp/abcl/Manifest14
-rw-r--r--dev-lisp/abcl/abcl-0.0.9.ebuild71
-rw-r--r--dev-lisp/abcl/files/digest-abcl-0.0.91
-rw-r--r--dev-lisp/abcl/metadata.xml5
5 files changed, 101 insertions, 0 deletions
diff --git a/dev-lisp/abcl/ChangeLog b/dev-lisp/abcl/ChangeLog
new file mode 100644
index 000000000000..dc48828ba0be
--- /dev/null
+++ b/dev-lisp/abcl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lisp/abcl
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/abcl/ChangeLog,v 1.1 2006/01/11 23:51:00 mkennedy Exp $
+
+*abcl-0.0.9 (11 Jan 2006)
+
+ 11 Jan 2006; Matthew Kennedy <mkennedy@gentoo.org> +metadata.xml,
+ +abcl-0.0.9.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
+
diff --git a/dev-lisp/abcl/Manifest b/dev-lisp/abcl/Manifest
new file mode 100644
index 000000000000..4f8bc50cc3ce
--- /dev/null
+++ b/dev-lisp/abcl/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 563c521279339ccd6fb2a2cf47881158 ChangeLog 397
+MD5 81642569112a5f8e42e52a7ad879b187 abcl-0.0.9.ebuild 2072
+MD5 5cf99bcf30136a8338d5a128e3bda9c4 files/digest-abcl-0.0.9 62
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDxZnzyiNZaEAZA+ARArOmAJwJ8AM8cONTS1g7LRMHouclO3i6IwCfbgy6
+AuxbDPMxw3jn196gn4xD4f4=
+=Qlr7
+-----END PGP SIGNATURE-----
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 000000000000..a0f4782f38d9
--- /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 000000000000..a77769a69bb2
--- /dev/null
+++ b/dev-lisp/abcl/files/digest-abcl-0.0.9
@@ -0,0 +1 @@
+MD5 232aa470e0fc3c6181d7a2650d5c2348 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 000000000000..f418045b09c8
--- /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>