/[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.3 - (hide annotations) (download)
Sun Aug 10 20:41:36 2014 UTC (12 months, 2 weeks ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.3 # Copyright 1999-2014 Gentoo Foundation
2 grozin 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-10.4.1.ebuild,v 1.2 2010/12/17 20:18:31 ulm Exp $
4 grozin 1.1
5     EAPI=3
6     inherit eutils multilib
7    
8     MY_P=ecl-${PV}
9    
10 slyfox 1.3 DESCRIPTION="ECL is an embeddable Common Lisp implementation"
11 grozin 1.1 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