diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:33:37 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:33:37 +0000 |
commit | 08d16c422c5f4a99ee3263bc1c1b3dd5aff302ac (patch) | |
tree | b396c8fa0037936ffa1d9162b2ec4e32a4e78d5b /dev-lisp/ecls | |
parent | Version bump from the lisp overlay (pmasked) (diff) | |
download | gentoo-2-08d16c422c5f4a99ee3263bc1c1b3dd5aff302ac.tar.gz gentoo-2-08d16c422c5f4a99ee3263bc1c1b3dd5aff302ac.tar.bz2 gentoo-2-08d16c422c5f4a99ee3263bc1c1b3dd5aff302ac.zip |
Version bump from the lisp overlay (pmasked)
(Portage version: 2.2.0_alpha173/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'dev-lisp/ecls')
-rw-r--r-- | dev-lisp/ecls/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lisp/ecls/ecls-12.12.1-r4.ebuild | 86 |
2 files changed, 93 insertions, 2 deletions
diff --git a/dev-lisp/ecls/ChangeLog b/dev-lisp/ecls/ChangeLog index aaf9d3f2a295..a7012d7a97a3 100644 --- a/dev-lisp/ecls/ChangeLog +++ b/dev-lisp/ecls/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/ecls -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ChangeLog,v 1.44 2012/12/14 07:21:23 grozin Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ChangeLog,v 1.45 2013/04/20 14:33:37 grozin Exp $ + +*ecls-12.12.1-r4 (20 Apr 2013) + + 20 Apr 2013; Andrey Grozin <grozin@gentoo.org> +ecls-12.12.1-r4.ebuild: + Version bump from the lisp overlay (pmasked) *ecls-12.12.1 (14 Dec 2012) diff --git a/dev-lisp/ecls/ecls-12.12.1-r4.ebuild b/dev-lisp/ecls/ecls-12.12.1-r4.ebuild new file mode 100644 index 000000000000..b52cf10f3d07 --- /dev/null +++ b/dev-lisp/ecls/ecls-12.12.1-r4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-12.12.1-r4.ebuild,v 1.1 2013/04/20 14:33:37 grozin Exp $ + +EAPI=5 +inherit eutils multilib + +MY_P=ecl-${PV} + +DESCRIPTION="ECL is an embeddable Common Lisp implementation." +HOMEPAGE="http://ecls.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +RESTRICT="mirror" + +LICENSE="BSD LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug emacs gengc precisegc sse +threads +unicode X" + +CDEPEND="dev-libs/gmp + virtual/libffi + >=dev-libs/boehm-gc-7.1[threads?] + >=dev-lisp/asdf-2.33-r3:=" +DEPEND="${CDEPEND} + app-text/texi2html + emacs? ( virtual/emacs >=app-admin/eselect-emacs-1.12 )" +RDEPEND="${CDEPEND}" + +S="${WORKDIR}"/${MY_P} + +pkg_setup () { + if use gengc || use precisegc ; then + ewarn "You have enabled the generational garbage collector or" + ewarn "the precise collection routines. These features are not very stable" + ewarn "at the moment and may cause crashes." + ewarn "Don't enable them unless you know what you're doing." + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-headers-gentoo.patch + cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die +} + +src_configure() { + econf \ + --with-system-gmp \ + --enable-boehm=system \ + --enable-longdouble \ + --with-dffi \ + $(use_enable gengc) \ + $(use_enable precisegc) \ + $(use_with debug debug-cflags) \ + $(use_with sse) \ + $(use_enable threads) \ + $(use_with threads __thread) \ + $(use_enable unicode) \ + $(use_with X x) \ + $(use_with X clx) +} + +src_compile() { + if use emacs; then + local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}') + [[ -n ${ETAGS} ]] || die "No etags implementation found" + pushd build > /dev/null || die + emake ETAGS=${ETAGS} TAGS + popd > /dev/null + else + touch build/TAGS + fi + + #parallel make fails + emake -j1 || die "Compilation failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "Installation failed" + + dodoc ANNOUNCEMENT Copyright + dodoc "${FILESDIR}"/README.Gentoo + pushd build/doc + newman ecl.man ecl.1 + newman ecl-config.man ecl-config.1 + popd +} |