/[gentoo-x86]/dev-lisp/clisp/clisp-2.30.ebuild
Gentoo

Contents of /dev-lisp/clisp/clisp-2.30.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Apr 15 19:33:01 2005 UTC (14 years, 6 months ago) by mkennedy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.30.ebuild,v 1.6 2005/01/02 07:33:19 mkennedy Exp $
4
5 DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
6 HOMEPAGE="http://clisp.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
8
9 LICENSE="GPL-2"
10 SLOT="2"
11 KEYWORDS="~x86 ~ppc"
12 IUSE="X"
13
14 DEPEND="X? ( virtual/x11 )"
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S} && patch -p1 <${FILESDIR}/${P}-gentoo.patch || die
19 cd ${S} && patch -p2 <${FILESDIR}/${P}-linux.lisp-upstream.patch || die
20 }
21
22 src_compile() {
23 local myconf="--with-dynamic-ffi
24 --with-dynamic-modules
25 --with-export-syscalls
26 --with-module=wildcard
27 --with-module=regexp
28 --with-module=bindings/linuxlibc6"
29
30 # for the time being, these modules cause segv during build
31 # use X && myconf="${myconf} --with-module=clx/new-clx"
32 # use threads && myconf="${myconf} --with-threads=POSIX_THREADS"
33
34 einfo "Configuring with $myconf"
35 ./configure --prefix=/usr ${myconf} || die "./configure failed"
36 cd src && ./makemake ${myconf} > Makefile
37 make config.lisp
38 make || die
39 }
40
41 src_install () {
42 cd src && make DESTDIR=${D} prefix=/usr install-bin || die
43 doman clisp.1 clreadline.3
44 dodoc SUMMARY README* NEWS MAGIC.add GNU-GPL COPYRIGHT \
45 ANNOUNCE clisp.dvi clisp.html clreadline.dvi clreadline.html
46 }

  ViewVC Help
Powered by ViewVC 1.1.20