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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Feb 11 14:58:16 2012 UTC (2 years, 5 months ago) by grozin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.0_alpha85/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-10.2.1.ebuild,v 1.2 2010/12/17 20:18:31 ulm Exp $
4
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}.tgz"
13
14 LICENSE="BSD LGPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
17 IUSE="debug doc 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 PDEPEND="dev-lisp/gentoo-init"
24
25 S="${WORKDIR}"/${MY_P}
26
27 src_prepare() {
28 epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
29 }
30
31 src_configure() {
32 econf \
33 --with-system-gmp \
34 --enable-boehm=system \
35 --enable-longdouble \
36 --enable-gengc \
37 $(use_enable precisegc) \
38 $(use_with debug debug-cflags) \
39 $(use_enable threads) \
40 $(use_with threads __thread) \
41 $(use_enable unicode) \
42 $(use_with X x) \
43 $(use_with X clx)
44 }
45
46 src_compile() {
47 #parallel fails
48 emake -j1 || die "Compilation failed"
49 if use doc; then
50 pushd build/doc
51 emake || die "Building docs failed"
52 popd
53 fi
54 }
55
56 src_install () {
57 emake DESTDIR="${D}" install || die "Installation failed"
58
59 dodoc ANNOUNCEMENT Copyright
60 dodoc "${FILESDIR}"/README.Gentoo
61 pushd build/doc
62 newman ecl.man ecl.1
63 newman ecl-config.man ecl-config.1
64 if use doc; then
65 doinfo ecl{,dev}.info || die "Installing info docs failed"
66 fi
67 popd
68 }

  ViewVC Help
Powered by ViewVC 1.1.20