/[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.1 - (show annotations) (download)
Mon Apr 12 11:53:52 2010 UTC (4 years, 6 months ago) by grozin
Branch: MAIN
Version bump
(Portage version: 2.2_rc67/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
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}.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 PROVIDE="virtual/commonlisp"
27
28 S="${WORKDIR}"/${MY_P}
29
30 pkg_setup() {
31 if use gengc || use precisegc; then
32 ewarn "USE flags gengc and precisegc are experimental"
33 ewarn "Don't use them if you want a stable ecl"
34 fi
35 }
36
37 src_prepare() {
38 epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
39 }
40
41 src_configure() {
42 econf \
43 --with-system-gmp \
44 --enable-boehm=system \
45 --enable-longdouble \
46 $(use_enable gengc) \
47 $(use_enable precisegc) \
48 $(use_with debug debug-cflags) \
49 $(use_enable threads) \
50 $(use_with threads __thread) \
51 $(use_enable unicode) \
52 $(use_with X x) \
53 $(use_with X clx)
54 }
55
56 src_compile() {
57 #parallel fails
58 emake -j1 || die "Compilation failed"
59 }
60
61 src_install () {
62 emake DESTDIR="${D}" install || die "Installation failed"
63
64 dodoc ANNOUNCEMENT Copyright
65 dodoc "${FILESDIR}"/README.Gentoo
66 pushd build/doc
67 newman ecl.man ecl.1
68 newman ecl-config.man ecl-config.1
69 popd
70 }

  ViewVC Help
Powered by ViewVC 1.1.20