summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-31 01:19:56 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-31 01:19:56 +0000
commit4171db36cc6503ee743c66a91284cb81104010f0 (patch)
tree10a662104bf4518a5be93080cc526f5227748aa0 /dev-lisp
parent*** empty log message *** (diff)
downloadgentoo-2-4171db36cc6503ee743c66a91284cb81104010f0.tar.gz
gentoo-2-4171db36cc6503ee743c66a91284cb81104010f0.tar.bz2
gentoo-2-4171db36cc6503ee743c66a91284cb81104010f0.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/ChangeLog7
-rw-r--r--dev-lisp/sbcl/Manifest6
-rw-r--r--dev-lisp/sbcl/files/digest-sbcl-0.8.56
-rw-r--r--dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild6
-rw-r--r--dev-lisp/sbcl/sbcl-0.8.5.ebuild117
5 files changed, 135 insertions, 7 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index cf3289f2e7ec..ad08ceb1ed73 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.21 2003/10/30 17:44:53 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.22 2003/10/31 01:19:53 mkennedy Exp $
+
+*sbcl-0.8.5 (30 Oct 2003)
+
+ 30 Oct 2003; <mkennedy@gentoo.org> sbcl-0.8.4-r2.ebuild, sbcl-0.8.5.ebuild:
+ new upstream
30 Oct 2003; <mkennedy@gentoo.org> sbcl-0.6.12.ebuild, sbcl-0.7.5.ebuild,
sbcl-0.7.6-r1.ebuild, sbcl-0.8.3.68.ebuild, sbcl-0.8.4-r2.ebuild:
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index d5eaf5d938ca..9cebc803e92c 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -1,11 +1,11 @@
-MD5 dae1e0241ec26b692ebb8b6156a68f89 ChangeLog 4256
+MD5 7023a195aa871998816d305c8966cdf1 ChangeLog 4377
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
-MD5 9e5df4051446c5a4c72810d3574298d8 sbcl-0.8.5.ebuild 3878
+MD5 1b2f87556d9e5807c5347c764e18642b sbcl-0.8.5.ebuild 3891
MD5 3f7c2bc02639ca69e478db920d8b3704 sbcl-0.7.7.ebuild 1479
MD5 6c9f9c96627678efaa377d40692ea969 sbcl-0.8.1.ebuild 1534
MD5 d913694a716b741d4edb240f3d8049b3 sbcl-0.8.3.ebuild 2562
MD5 2842b64ad2353ca9b97ab1563ddb1e35 sbcl-0.8.4-r1.ebuild 3569
-MD5 9e5df4051446c5a4c72810d3574298d8 sbcl-0.8.4-r2.ebuild 3878
+MD5 e05c3beb6da60089ea8766a573324876 sbcl-0.8.4-r2.ebuild 3894
MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild 2560
MD5 ecf044f288fb93be779915b684e8d81f files/digest-sbcl-0.8.5 461
MD5 1b52d1cb085fdfec090a08604c2fd4ed files/digest-sbcl-0.7.7 300
diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.5 b/dev-lisp/sbcl/files/digest-sbcl-0.8.5
new file mode 100644
index 000000000000..3929c77d7e7b
--- /dev/null
+++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.5
@@ -0,0 +1,6 @@
+MD5 2d935319b1f985a32660412005085e42 sbcl_0.8.5.orig.tar.gz 2547892
+MD5 bac2013e2945cccca7323147941fdf12 sbcl_0.8.5-1.diff.gz 11438
+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
diff --git a/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild
index 23b8cab1c7f0..f0cb258bd142 100644
--- a/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild
+++ b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild
@@ -1,6 +1,6 @@
# 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-r2.ebuild,v 1.5 2003/10/30 17:44:53 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild,v 1.6 2003/10/31 01:19:53 mkennedy Exp $
inherit common-lisp-common
@@ -102,8 +102,9 @@ src_install() {
pkg_postinst() {
tar xvpzf /usr/share/sbcl/portage-timestamp-compensate -C /usr/lib/sbcl
- rm -rf /usr/lib/common-lisp/sbcl/*
+ rm -rf /usr/lib/common-lisp/sbcl/* || true
/usr/bin/clc-autobuild-impl sbcl yes
+ rm -rf /usr/lib/common-lisp/${PN} || true
/usr/sbin/register-common-lisp-implementation sbcl
}
@@ -113,5 +114,4 @@ pkg_postrm() {
if [ ! -x /usr/bin/sbcl ]; then
rm -rf /usr/lib/sbcl
fi
- rm -rf /usr/lib/common-lisp/${PN}
}
diff --git a/dev-lisp/sbcl/sbcl-0.8.5.ebuild b/dev-lisp/sbcl/sbcl-0.8.5.ebuild
new file mode 100644
index 000000000000..fb82fa4d3b67
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-0.8.5.ebuild
@@ -0,0 +1,117 @@
+# 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.5.ebuild,v 1.1 2003/10/31 01:19:53 mkennedy Exp $
+
+inherit common-lisp-common
+
+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 )"
+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
+ dosym /usr/lib/sbcl/asdf-install/asdf-install /usr/bin/sbcl-asdf-install
+ 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
+
+ do-debian-credits
+
+ find ${D} -type f -name .cvsignore -exec rm -f '{}' \;
+ find ${D} -type f -name \*.c -exec chmod 644 '{}' \;
+
+ # BIG FAT HACK
+ #
+ # Since the Portage emerge step kills file timestamp information,
+ # we need to compensate by ensuring all .fasl files are more
+ # recent than their .lisp source.
+
+ dodir /usr/share/${PN}
+ tar cpvzf ${D}/usr/share/${PN}/portage-timestamp-compensate -C ${D}/usr/lib/${PN} .
+}
+
+pkg_postinst() {
+ tar xvpzf /usr/share/sbcl/portage-timestamp-compensate -C /usr/lib/sbcl
+ rm -rf /usr/lib/common-lisp/sbcl/* || true
+ /usr/bin/clc-autobuild-impl sbcl yes
+ rm -rf /usr/lib/common-lisp/${PN} || true
+ /usr/sbin/register-common-lisp-implementation sbcl
+}
+
+pkg_postrm() {
+ # Since we keep our own time stamps we must manually remove them
+ # here.
+ if [ ! -x /usr/bin/sbcl ]; then
+ rm -rf /usr/lib/sbcl
+ fi
+}