diff options
author | Stelian Ionescu <sionescu@common-lisp.net> | 2007-12-01 16:34:21 +0100 |
---|---|---|
committer | Stelian Ionescu <sionescu@common-lisp.net> | 2007-12-01 16:34:21 +0100 |
commit | a16f5e4ff20a50dc1657adfa73ace85f70c3df65 (patch) | |
tree | b44fbf4eec70f973964a614d127bc234273f5996 /dev-lisp/abcl | |
parent | dev-lisp/closure-common: fix LICENSE (diff) | |
download | lisp-a16f5e4ff20a50dc1657adfa73ace85f70c3df65.tar.gz lisp-a16f5e4ff20a50dc1657adfa73ace85f70c3df65.tar.bz2 lisp-a16f5e4ff20a50dc1657adfa73ace85f70c3df65.zip |
Rename dev-lisp/abcl-cvs to dev-lisp/abcl-9999
Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>
Diffstat (limited to 'dev-lisp/abcl')
-rw-r--r-- | dev-lisp/abcl/Manifest | 19 | ||||
-rw-r--r-- | dev-lisp/abcl/abcl-9999.ebuild | 52 | ||||
-rw-r--r-- | dev-lisp/abcl/files/abcl | 6 | ||||
-rw-r--r-- | dev-lisp/abcl/files/clc-lite.lisp | 66 | ||||
-rw-r--r-- | dev-lisp/abcl/files/digest-abcl-9999 | 0 | ||||
-rw-r--r-- | dev-lisp/abcl/files/j | 6 |
6 files changed, 149 insertions, 0 deletions
diff --git a/dev-lisp/abcl/Manifest b/dev-lisp/abcl/Manifest index 6020db50..0e782952 100644 --- a/dev-lisp/abcl/Manifest +++ b/dev-lisp/abcl/Manifest @@ -1,8 +1,24 @@ +AUX abcl 143 RMD160 dc3b8314038b121a360cecb5bd90bbc77a762525 SHA1 2d047ea9707ab740d951a87a415ce120aef9bebe SHA256 1cbeed885e0a8835fb10247089fe99be5f9e1d883db33a5d4f3d7a0b842161ad +MD5 ef31c45735e62ba0eb84c62b2509aa38 files/abcl 143 +RMD160 dc3b8314038b121a360cecb5bd90bbc77a762525 files/abcl 143 +SHA256 1cbeed885e0a8835fb10247089fe99be5f9e1d883db33a5d4f3d7a0b842161ad files/abcl 143 +AUX clc-lite.lisp 2050 RMD160 dd52dacaed0dfd5d85c10159904410c8a55cd596 SHA1 ba2dd6bab42c434cefa07d5f37771bec88c620c2 SHA256 ea1845b060c13e3add2c8c85ccc7ac872ad32f95f16a71de3a4f6b87f693d492 +MD5 0e513373ec8c0af1409abbf3497ad814 files/clc-lite.lisp 2050 +RMD160 dd52dacaed0dfd5d85c10159904410c8a55cd596 files/clc-lite.lisp 2050 +SHA256 ea1845b060c13e3add2c8c85ccc7ac872ad32f95f16a71de3a4f6b87f693d492 files/clc-lite.lisp 2050 +AUX j 124 RMD160 27d2473b9c705b66f6ae01e96018b5d22135ac62 SHA1 9a3b906912cbffac0846c5db72374cf40132269c SHA256 f2b3adfc790b7dc7c18aad60eb905929419bad1ae90cba2069db4493c2687a38 +MD5 038ee5392e620c54c0973082bd987652 files/j 124 +RMD160 27d2473b9c705b66f6ae01e96018b5d22135ac62 files/j 124 +SHA256 f2b3adfc790b7dc7c18aad60eb905929419bad1ae90cba2069db4493c2687a38 files/j 124 DIST abcl-0.0.9.tar.gz 592410 RMD160 58e158733665865009d414c1a99d2aec90cf59c1 SHA1 114f8f0049fd7820bdab524f6c83a0ef2831c149 SHA256 ee634443a4a77b2bb9324fa4ff900b15aea5081042fde039045b535d28a8049b EBUILD abcl-0.0.9.ebuild 1977 RMD160 c96ca9d88c4af72e8f36382f8571f12490404633 SHA1 1f916d646239d6fcad7b0d2b6b46f58dcfb52600 SHA256 18ce20602463500e2ac8ebecd8a5a432b16cf2d9b8bfaab6f8b118f6b761ad0d MD5 67962fbe986c7977101e4c1b56a0d276 abcl-0.0.9.ebuild 1977 RMD160 c96ca9d88c4af72e8f36382f8571f12490404633 abcl-0.0.9.ebuild 1977 SHA256 18ce20602463500e2ac8ebecd8a5a432b16cf2d9b8bfaab6f8b118f6b761ad0d abcl-0.0.9.ebuild 1977 +EBUILD abcl-9999.ebuild 1135 RMD160 896e5efea41a0059bfbcb71c231861d7d0f70f8c SHA1 77b497cbd0dbb1334e407d5395e836aa40f55404 SHA256 f5533c9717b1ae27035d15df9f5578358731912fe928340fb35d2f29a1b7da1e +MD5 dc4d8a5ab2b8956dbbf07486be7cd54d abcl-9999.ebuild 1135 +RMD160 896e5efea41a0059bfbcb71c231861d7d0f70f8c abcl-9999.ebuild 1135 +SHA256 f5533c9717b1ae27035d15df9f5578358731912fe928340fb35d2f29a1b7da1e abcl-9999.ebuild 1135 MISC metadata.xml 164 RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 SHA1 2f781e1fca36d790a027079805d56cf397e6a6f8 SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 metadata.xml 164 @@ -10,3 +26,6 @@ SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f metadata 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 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-abcl-9999 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-abcl-9999 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-abcl-9999 0 diff --git a/dev-lisp/abcl/abcl-9999.ebuild b/dev-lisp/abcl/abcl-9999.ebuild new file mode 100644 index 00000000..98cdeffe --- /dev/null +++ b/dev-lisp/abcl/abcl-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +ECVS_SERVER="armedbear-j.cvs.sourceforge.net:/cvsroot/armedbear-j" +if [ -z "${ECVS_BRANCH}" ]; then + ECVS_BRANCH="HEAD" +fi +ECVS_MODULE="j" +ECVS_USER="anonymous" +ECVS_PASS="" +ECVS_CVS_OPTIONS="-dP" + +inherit cvs java-pkg eutils + +DESCRIPTION="Armed Bear Common Lisp is a Common Lisp implementation for the JVM." +HOMEPAGE="http://armedbear-j.sourceforge.net/" +SRC_URI="" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="debug libabcl jpty" + +DEPEND="virtual/jdk" + +S=${WORKDIR}/${ECVS_MODULE} + +src_compile() { + chmod +x "${S}"/{configure,mkinstalldirs} + econf --with-jdk=`java-config -O` \ + `use_enable debug debug` \ + `use_enable libabcl libabcl` \ + `use_enable jpty jpty` \ + || die + make || die +} + +src_install() { + find "${S}" -type d -name CVS -exec rm -rf '{}' \; + java-pkg_dojar j.jar + dohtml doc/* + insinto /usr/share/j + doins -r themes + dobin "${FILESDIR}"/{abcl,j} + if use jpty; then + dobin src/jpty/jpty + fi + if use libabcl; then + exeinto /usr/$(get_libdir)/abcl + doexe src/org/armedbear/lisp/libabcl.so + fi +} diff --git a/dev-lisp/abcl/files/abcl b/dev-lisp/abcl/files/abcl new file mode 100644 index 00000000..1e6295c3 --- /dev/null +++ b/dev-lisp/abcl/files/abcl @@ -0,0 +1,6 @@ +#!/bin/sh + +exec `java-config -J` \ + -Djava.library.path=/usr/lib/abcl \ + -cp `java-config -p abcl-cvs` \ + org.armedbear.lisp.Main "$@"
\ No newline at end of file diff --git a/dev-lisp/abcl/files/clc-lite.lisp b/dev-lisp/abcl/files/clc-lite.lisp new file mode 100644 index 00000000..39d34779 --- /dev/null +++ b/dev-lisp/abcl/files/clc-lite.lisp @@ -0,0 +1,66 @@ +;;;; -*- mode: common-lisp; indent-tabs-mode: nil; package: common-lisp-controller -*- + +(defpackage #:common-lisp-controller + (:use #:common-lisp)) + +(in-package #:common-lisp-controller) + +(defvar *source-root* #p"/usr/share/common-lisp/source/") + +(defvar *fasl-root* nil) + +(defvar *implementation-name* "abcl") + +(eval-when (:load-toplevel :compile-toplevel :execute) + (unless (member :asdf *features*) + (require 'asdf))) + +;; I cut this out of the original Common Lisp Controller v4 from Debian + +(defun calculate-fasl-root () + "Inits common-lisp controller for this user" + (unless *fasl-root* + (setf *fasl-root* + ;; set it to the username of the user: + (let* (#-cmu + (homedir (pathname-directory + (user-homedir-pathname))) + ;; cmucl has searchlist home (!) + #+cmu + (homedirs (extensions:search-list "home:")) + #+cmu + (homedir (when homedirs + (pathname-directory + (first homedirs))))) + ;; strip off :re or :abs + (when (or (eq (first homedir) + :relative) + (eq (first homedir) + :absolute)) + (setf homedir (rest homedir))) + ;; if it starts with home, nuke it + (when (string= (first homedir) + "home") + (setf homedir (rest homedir))) + ;; now append *implementation-name* + (setf homedir (append homedir + (list *implementation-name*))) + ;; this should be able to cope with + ;; homedirs like /home/p/pv/pvaneynd ... + (merge-pathnames + (make-pathname + :directory `(:relative ,@homedir)) + #p"/var/cache/common-lisp-controller/"))))) + +(defun source-root-path-to-fasl-path (source) + "Converts a path in the source root into the equivalent path in the fasl root" + (calculate-fasl-root) + (merge-pathnames + (enough-namestring source (asdf::resolve-symlinks *source-root*)) + *fasl-root*)) + +(defmethod asdf:output-files :around ((op asdf:operation) (c asdf:component)) + (let ((orig (call-next-method))) + (mapcar #'source-root-path-to-fasl-path orig))) + +(pushnew #p"/usr/share/common-lisp/systems/" asdf:*central-registry*) diff --git a/dev-lisp/abcl/files/digest-abcl-9999 b/dev-lisp/abcl/files/digest-abcl-9999 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev-lisp/abcl/files/digest-abcl-9999 diff --git a/dev-lisp/abcl/files/j b/dev-lisp/abcl/files/j new file mode 100644 index 00000000..c985ccab --- /dev/null +++ b/dev-lisp/abcl/files/j @@ -0,0 +1,6 @@ +#!/bin/sh + +exec `java-config -J` \ + -Djava.library.path=/usr/lib/abcl \ + -cp `java-config -p abcl-cvs` \ + Main "$@"
\ No newline at end of file |