summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-09 13:49:31 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-09 13:49:31 +0000
commit6722f770055ee13ece3bd83e952c23cebdef5006 (patch)
tree69f561f7ecbba07cc91e20ca5e3cf9ed812ba191 /dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild
parentinitial version (diff)
downloadhistorical-6722f770055ee13ece3bd83e952c23cebdef5006.tar.gz
historical-6722f770055ee13ece3bd83e952c23cebdef5006.tar.bz2
historical-6722f770055ee13ece3bd83e952c23cebdef5006.zip
Is now runnable on x86, too, thanks to new Portage.
Diffstat (limited to 'dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild')
-rw-r--r--dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild b/dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild
new file mode 100644
index 000000000000..719fd4d98cb1
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Copyright 2002 Marius Bernklev <mariube@unixcore.com>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.7.6-r1.ebuild,v 1.1 2002/08/09 13:49:31 karltk Exp $
+
+DESCRIPTION="Steel Bank Common Lisp"
+HOMEPAGE="http://sbcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
+ x86? ( mirror://sourceforge/sbcl/${PN}-0.7.2-x86-linux-binary.tar.bz2 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-0.7.6-ppc-linux-binary.tar.bz2 )
+ mirror://sourceforge/sbcl/${P}-html.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="x86 ppc -sparc -sparc64"
+PROVIDE="virtual/commonlisp"
+# the SRC_URI trickery needs this
+DEPEND=">=sys-apps/portage-2.0.27"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+
+ if ( use x86 ) ; then
+ unpack ${PN}-0.7.2-x86-linux-binary.tar.bz2
+ mv ${PN}-0.7.2 x86-binary
+ elif ( use ppc ) ; then
+ unpack ${PN}-0.7.6-ppc-linux-binary.tar.bz2
+ mv ${PN}-0.7.6-ppc-linux ppc-binary
+ fi
+
+ unpack ${P}-source.tar.bz2
+ unpack ${P}-html.tar.bz2
+}
+
+src_compile() {
+ local bindir
+ use x86 && bindir=x86-binary
+ use ppc && bindir=ppc-binary
+
+ export SBCL_HOME="../${bindir}/output/"
+ export GNUMAKE="make"
+
+ sh make.sh "../${bindir}/src/runtime/sbcl" || die
+}
+
+src_install() {
+ local LIB=${DESTTREE}/lib/sbcl
+
+ doman doc/sbcl.1
+ dobin src/runtime/sbcl
+
+ dodoc BUGS CREDITS NEWS README INSTALL COPYING
+ dohtml doc/html/*
+
+ dodir ${LIB}
+ insinto ${LIB}
+ doins output/sbcl.core
+
+ dodir /etc/env.d
+
+ echo "SBCL_HOME=${LIB}" > ${D}/etc/env.d/10sbcl
+}