blob: e4aa7d7f10c11f4759134c83cff85c4d97425488 (
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
|
# 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.6.12.ebuild,v 1.12 2003/08/07 02:09:56 vapier Exp $
DESCRIPTION="SteelBank Common Lisp"
HOMEPAGE="http://sbcl.sourceforge.net/"
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
mirror://sourceforge/sbcl/${P}-linux-binary.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="x86"
PROVIDE="virtual/commonlisp"
src_unpack() {
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"
sh make.sh "../${P}-binary/src/runtime/sbcl" || die "sh make.sh failed"
if which jade > /dev/null ; then
cd doc
sh make-doc.sh || die "sh make-doc.sh failed"
else
echo "Jade missing: Not building documentation"
fi
}
src_install() {
doman doc/sbcl.1
dobin src/runtime/sbcl
dodoc BUGS CREDITS NEWS README INSTALL COPYING
insinto /usr/share/sbcl
doins output/sbcl.core
}
|