blob: a0d361c282d3c3d2b989c7e50678c1f94f0fde07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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.5.ebuild,v 1.5 2002/10/20 18:42:33 vapier Exp $
DESCRIPTION="Steel Bank Common Lisp"
HOMEPAGE="http://sbcl.sourceforge.net/"
BOOTSTRAPPER="0.7.2"
BIN=${PN}-${BOOTSTRAPPER}
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
mirror://sourceforge/sbcl/${BIN}-x86-linux-binary.tar.bz2
mirror://sourceforge/sbcl/${P}-html.tar.bz2"
LICENSE="MIT"
SLOT="0"
# 2002.07.19 -- karltk:
# Requires x86-only binary for bootstrapping
# Krystof promises ppc binary for 0.7.6
# Sparc is a lost cause.
KEYWORDS="x86 -ppc -sparc -sparc64"
PROVIDE="virtual/commonlisp"
DEPEND=""
src_unpack() {
unpack ${BIN}-x86-linux-binary.tar.bz2
mv ${BIN} ${BIN}-binary
unpack ${P}-source.tar.bz2
unpack ${P}-html.tar.bz2
}
src_compile() {
export SBCL_HOME="../${BIN}-binary/output/"
# 2002.07.19 -- karltk:
# Marius tells me parallell make is 2-3 years off.
export GNUMAKE="make"
sh make.sh "../${BIN}-binary/src/runtime/sbcl" || die
}
src_install() {
doman doc/sbcl.1
dobin src/runtime/sbcl
dodoc BUGS CREDITS NEWS README INSTALL COPYING
dohtml doc/html/*
LIB=${DESTTREE}/lib/sbcl
dodir ${LIB}
insinto ${LIB}
doins output/sbcl.core
dodir /etc/env.d
echo "SBCL_HOME=${LIB}" > ${D}/etc/env.d/10sbcl
}
|