summaryrefslogtreecommitdiff
blob: e8eef1a472ceeb02e01e50536e97f235f4cc6457 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-0.9b.ebuild,v 1.2 2003/09/11 01:10:52 msterret Exp $

DESCRIPTION="ECL (Embeddable Common-Lisp) is an interpreter of the Common-Lisp language as described in the X3J13 ANSI specification, featuring CLOS (Common-Lisp Object System), conditions, loops, etc, plus a translator to C, which can produce standalone executables.  (Also known as ECLS or ECL 'Spain')"
SRC_URI="mirror://sourceforge/ecls/ecl-${PV}.tgz"
HOMEPAGE="http://ecls.sourceforge.net/"

SLOT="0"
LICENSE="BSD LGPL-2"
KEYWORDS="~x86"

IUSE="X"

DEPEND="X? ( virtual/x11 )
	=dev-libs/gmp-4*"

S=${WORKDIR}/ecl-${PV}

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/ecl-texi-gentoo.patch
}

src_compile() {
	use X && myconf="--with-x" || myconf="--without-x"
	# omit --enable-threads for now
	# use built in Boehm GC 
	econf --enable-local-gmp \
		--disable-local-boehm \
		--with-tcp \
		--with-ffi \
		--with-clos-streams \
		${myconf} || die
	make || die
}

src_install() {
	make bindir=${D}/usr/bin \
		infodir=${D}/usr/share/info \
		mandir=${D}/usr/share/man \
		libdir=${D}/usr/lib/ecl install || die
	dohtml doc/*.html
	dodoc ANNOUNCEMENT Copyright LGPL
}