/[gentoo-x86]/dev-lisp/ecls/ecls-10.4.1.ebuild
Gentoo

Contents of /dev-lisp/ecls/ecls-10.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Dec 17 20:18:31 2010 UTC (3 years, 7 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -3 lines
Remove PROVIDE, commonlisp is now a new-style virtual.

(Portage version: 2.1.9.25/cvs/Linux x86_64)

1 grozin 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ulm 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-10.4.1.ebuild,v 1.1 2010/04/12 11:53:52 grozin Exp $
4 grozin 1.1
5     EAPI=3
6     inherit eutils multilib
7    
8     MY_P=ecl-${PV}
9    
10     DESCRIPTION="ECL is an embeddable Common Lisp implementation."
11     HOMEPAGE="http://common-lisp.net/project/ecl/"
12     SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13    
14     LICENSE="BSD LGPL-2"
15     SLOT="0"
16     KEYWORDS="~amd64 ~ppc ~sparc ~x86"
17     IUSE="debug gengc precisegc threads +unicode X"
18    
19     RDEPEND="dev-libs/gmp
20     virtual/libffi
21     >=dev-libs/boehm-gc-7.1[threads?]"
22     DEPEND="${RDEPEND}
23     app-text/texi2html"
24     PDEPEND="dev-lisp/gentoo-init"
25    
26     S="${WORKDIR}"/${MY_P}
27    
28     pkg_setup() {
29     if use gengc || use precisegc; then
30     ewarn "USE flags gengc and precisegc are experimental"
31     ewarn "Don't use them if you want a stable ecl"
32     fi
33     }
34    
35     src_prepare() {
36     epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
37     }
38    
39     src_configure() {
40     econf \
41     --with-system-gmp \
42     --enable-boehm=system \
43     --enable-longdouble \
44     $(use_enable gengc) \
45     $(use_enable precisegc) \
46     $(use_with debug debug-cflags) \
47     $(use_enable threads) \
48     $(use_with threads __thread) \
49     $(use_enable unicode) \
50     $(use_with X x) \
51     $(use_with X clx)
52     }
53    
54     src_compile() {
55     #parallel fails
56     emake -j1 || die "Compilation failed"
57     }
58    
59     src_install () {
60     emake DESTDIR="${D}" install || die "Installation failed"
61    
62     dodoc ANNOUNCEMENT Copyright
63     dodoc "${FILESDIR}"/README.Gentoo
64     pushd build/doc
65     newman ecl.man ecl.1
66     newman ecl-config.man ecl-config.1
67     popd
68     }

  ViewVC Help
Powered by ViewVC 1.1.20