blob: 1d1613005ac9d7c631946bc7ba0cbcee4f860b6c (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.6.12.ebuild,v 1.4 2002/05/27 17:27:37 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="SteelBank Common Lisp"
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
mirror://sourceforge/sbcl/${P}-linux-binary.tar.bz2"
HOMEPAGE="http://sbcl.sf.net/"
PROVIDE="virtual/commonlisp"
src_unpack() {
cd ${S}
unpack ${P}-linux-binary.tar.bz2 ; mv ${P} ${P}-binary
unpack ${P}-source.tar.bz2
}
src_compile() {
export SBCL_HOME="../${P}-binary/output/"
export GNUMAKE="make"
try sh make.sh "../${P}-binary/src/runtime/sbcl"
if which jade > /dev/null ; then
cd doc ;
try sh make-doc.sh ;
else
echo "Jade missing: Not building documentation" ;
fi
}
src_install() {
into /usr
doman doc/sbcl.1
dobin src/runtime/sbcl
dodoc BUGS CREDITS NEWS README INSTALL COPYING
dodir /usr/share/sbcl
cp output/sbcl.core ${D}/usr/share/sbcl/
}
|