summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-09 19:37:37 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-09 19:37:37 +0000
commit1416548bb0753f37b0a570ccfa52ee4e81e09e1f (patch)
tree395a6bf6efea5ff9224bf2ca7faa52082fde7f95 /dev-lisp/sbcl
parentsparc, mips, docs (diff)
downloadgentoo-2-1416548bb0753f37b0a570ccfa52ee4e81e09e1f.tar.gz
gentoo-2-1416548bb0753f37b0a570ccfa52ee4e81e09e1f.tar.bz2
gentoo-2-1416548bb0753f37b0a570ccfa52ee4e81e09e1f.zip
sparc, mips, docs
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r--dev-lisp/sbcl/ChangeLog7
-rw-r--r--dev-lisp/sbcl/Manifest8
-rw-r--r--dev-lisp/sbcl/files/digest-sbcl-0.8.4-r17
-rw-r--r--dev-lisp/sbcl/sbcl-0.8.4-r1.ebuild101
4 files changed, 117 insertions, 6 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 40deb17eccdf..d42bd77bddf2 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/sbcl
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.15 2003/10/08 11:12:57 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.16 2003/10/09 19:37:33 mkennedy Exp $
+
+*sbcl-0.8.4-r1 (09 Oct 2003)
+
+ 09 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> sbcl-0.8.4-r1.ebuild:
+ added mips, sparc support. build documentation from source
*sbcl-0.8.4 (08 Oct 2003)
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index 098d149c4f77..50ed5c4a83f8 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -1,4 +1,4 @@
-MD5 d34c4b0ca7fbb657c7f118b0f21aca19 ChangeLog 3174
+MD5 f29fe7c87b10bae94894e547219cfcea ChangeLog 3342
MD5 f67859fbfee204bba3ee73ee8abe994a sbcl-0.6.12.ebuild 1053
MD5 a6e113337aada357e7aa8b93dce9c82a sbcl-0.7.5.ebuild 1372
MD5 215c765767ee81f9cbae0696e4fc0c53 sbcl-0.7.6-r1.ebuild 1482
@@ -6,10 +6,8 @@ MD5 3f7c2bc02639ca69e478db920d8b3704 sbcl-0.7.7.ebuild 1479
MD5 6c9f9c96627678efaa377d40692ea969 sbcl-0.8.1.ebuild 1534
MD5 30af45636c7e7d046f5ad5a732473742 sbcl-0.8.3.68.ebuild 2545
MD5 d913694a716b741d4edb240f3d8049b3 sbcl-0.8.3.ebuild 2562
-MD5 a90346fddf5c2fbe5b55530cb1c46a88 sbcl-0.8.4.ebuild 2681
-MD5 8dcbabc92498a324778060f4a5a44c39 sbcl-0.8.4-r1.ebuild 3532
-MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild.~1.1.~ 2560
-MD5 a90346fddf5c2fbe5b55530cb1c46a88 sbcl-0.8.4-r1.ebuild~ 2681
+MD5 2842b64ad2353ca9b97ab1563ddb1e35 sbcl-0.8.4-r1.ebuild 3569
+MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild 2560
MD5 36e1837606337c53dc21111b18146143 files/digest-sbcl-0.6.12 150
MD5 61c9382b669d5b190b434be62664253e files/digest-sbcl-0.7.5 219
MD5 bc8e434b44fc3abc15022afc66be888f files/digest-sbcl-0.7.6-r1 300
diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r1 b/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r1
new file mode 100644
index 000000000000..d5e860ee71b3
--- /dev/null
+++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r1
@@ -0,0 +1,7 @@
+MD5 d4abd72b2ff6609edf13db0c8be74753 sbcl_0.8.4.orig.tar.gz 2532894
+MD5 6f50fc5c69c48ed3e1183ff5953346b5 sbcl_0.8.4-1.diff.gz 11384
+MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+MD5 1cbd667b28d6d5afabccc759315eea70 sbcl-0.7.13-binary-linux-ppc.tar.bz2 5339432
+MD5 7cb56cd42b1f5797d26316e79aaccb06 sbcl-0.7.13-sparc-linux-binary.tar.bz2 5670293
+MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
+MD5 695e6f894223c1487063164856e54a5a sbcl-0.8.4-html.tar.bz2 46397
diff --git a/dev-lisp/sbcl/sbcl-0.8.4-r1.ebuild b/dev-lisp/sbcl/sbcl-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..c2ff26b28baa
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-0.8.4-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.4-r1.ebuild,v 1.1 2003/10/09 19:37:33 mkennedy Exp $
+
+DESCRIPTION="Steel Bank Common Lisp (SBCL) is a Open Source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. (And it, and its generated code, can also play nicely with Unix when running noninteractively.)"
+HOMEPAGE="http://sbcl.sourceforge.net/"
+BV_X86=0.8.1
+BV_PPC=0.7.13
+BV_SPARC=0.7.13
+BV_MIPS=0.7.10
+DEB_PV=1
+SRC_URI="http://ftp.debian.org/debian/pool/main/s/sbcl/sbcl_${PV}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/s/sbcl/sbcl_${PV}-${DEB_PV}.diff.gz
+ x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-binary-linux-ppc.tar.bz2 )
+ sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+ mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )
+ mirror://sourceforge/sbcl/sbcl-${PV}-html.tar.bz2"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips"
+PROVIDE="virtual/commonlisp"
+# the SRC_URI trickery needs this
+DEPEND=">=sys-apps/portage-2.0.27
+ dev-lisp/common-lisp-controller
+ doc? ( app-text/openjade )"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ if use x86; then
+ unpack ${PN}-${BV_X86}-x86-linux-binary.tar.bz2
+ mv ${PN}-${BV_X86} x86-binary
+ elif use ppc; then
+ unpack ${PN}-${BV_PPC}-ppc-binary-linux.tar.bz2
+ mv ${PN}-${BV_PPC}-ppc-linux ppc-binary
+ elif use sparc; then
+ unpack ${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2
+ mv ${PN}-${BV_SPARC}-sparc-linux sparc-binary
+ elif use mips; then
+ unpack ${PN}-${BV_SPARC}-mips-linux-binary.tar.gz
+ mv ${PN}-${BV_SPARC}-mips-linux mips-binary
+ fi
+ unpack sbcl_${PV}.orig.tar.gz
+ unpack sbcl_${PV}-${DEB_PV}.diff.gz
+ epatch sbcl_${PV}-${DEB_PV}.diff
+}
+
+src_compile() {
+ local bindir
+ use x86 && bindir=../x86-binary
+ use ppc && bindir=../ppc-binary
+ use sparc && bindir=../sparc-binary
+ use mips && bindir=../mips-binary
+ # TODO: allow the user to chose between SBCL, CMUCL and CLISP for bootstrapping
+ PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \
+ ./make.sh 'sbcl --sysinit /dev/null --userinit /dev/null --noprogrammer --core ${bindir}/output/sbcl.core'
+ if use doc; then
+ cd doc && chmod +x make-doc.sh
+ ./make-doc.sh
+ fi
+}
+
+src_install() {
+ unset SBCL_HOME
+
+ insinto /etc/
+ doins ${FILESDIR}/sbcl.rc
+
+ exeinto /usr/lib/common-lisp/bin
+ doexe ${FILESDIR}/sbcl.sh
+
+ INSTALL_ROOT=${D}/usr sh install.sh
+ mv ${D}/usr/lib/sbcl/sbcl.core ${D}/usr/lib/sbcl/sbcl-dist.core
+
+ insinto /usr/lib/sbcl
+ doins ${FILESDIR}/install-clc.lisp
+
+ dodir /usr/share
+ mv ${D}/usr/man ${D}/usr/share/
+ doman debian/sbcl-asdf-install.1
+
+ use doc && dohtml doc/html/*
+ dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO \
+ debian/README.Debian debian/changelog debian/copyright
+
+ find ${D} -type f -name .cvsignore |xargs rm -f
+}
+
+pkg_postinst() {
+ einfo ">>> Fixing permissions for executables and directories..."
+ find /usr/share/common-lisp/source -type d -o \( -type f -perm +111 \) |xargs chmod 755
+ einfo ">>> fix permissions for non-executable files..."
+ find /usr/share/common-lisp/source -type f ! -perm -111 |xargs chmod 644
+ rm -rf /usr/lib/common-lisp/sbcl/
+ /usr/sbin/register-common-lisp-implementation sbcl
+}
+
+pkg_prerm() {
+ /usr/sbin/unregister-common-lisp-implementation sbcl
+}