diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2009-01-07 14:23:15 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2009-01-07 14:23:15 +0000 |
commit | 14cc9d453d3e7d2dd6c22ede618b0b15a701162f (patch) | |
tree | b7bf1996ed3e0f914c67e7dd75988ed03f5fe559 /dev-scheme | |
parent | Marking fltk-2.0_pre6525 ppc64 for bug 253082 (diff) | |
download | gentoo-2-14cc9d453d3e7d2dd6c22ede618b0b15a701162f.tar.gz gentoo-2-14cc9d453d3e7d2dd6c22ede618b0b15a701162f.tar.bz2 gentoo-2-14cc9d453d3e7d2dd6c22ede618b0b15a701162f.zip |
bump
(Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/bigloo/ChangeLog | 9 | ||||
-rw-r--r-- | dev-scheme/bigloo/bigloo-3.2a.ebuild | 78 |
2 files changed, 85 insertions, 2 deletions
diff --git a/dev-scheme/bigloo/ChangeLog b/dev-scheme/bigloo/ChangeLog index 19ff6c6cb874..3cca1a873382 100644 --- a/dev-scheme/bigloo/ChangeLog +++ b/dev-scheme/bigloo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-scheme/bigloo -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.28 2008/10/12 16:42:03 hkbst Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.29 2009/01/07 14:23:15 hkbst Exp $ + +*bigloo-3.2a (07 Jan 2009) + + 07 Jan 2009; Marijn Schouten <hkBst@gentoo.org> +bigloo-3.2a.ebuild: + bump *bigloo-3.1b (12 Oct 2008) diff --git a/dev-scheme/bigloo/bigloo-3.2a.ebuild b/dev-scheme/bigloo/bigloo-3.2a.ebuild new file mode 100644 index 000000000000..2f6037ee63d3 --- /dev/null +++ b/dev-scheme/bigloo/bigloo-3.2a.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.2a.ebuild,v 1.1 2009/01/07 14:23:15 hkbst Exp $ + +inherit elisp-common multilib + +MY_P=${PN}${PV/_p/-} +MY_P=${MY_P/_alpha/-alpha} +MY_P=${MY_P/_beta/-beta} + +DESCRIPTION="Bigloo is a Scheme implementation." +HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html" +SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="dev-libs/boehm-gc + emacs? ( virtual/emacs ) + java? ( virtual/jdk app-arch/zip )" + +RDEPEND="dev-libs/boehm-gc" + +S=${WORKDIR}/${MY_P%-*} + +SITEFILE="50bigloo-gentoo.el" + +IUSE="emacs java" +# fullbee" + +src_compile() { + if use emacs; then + elisp-compile etc/*.el || die "elisp-compile failed" + fi + + # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors + # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..." + ./configure \ + $(use java && echo "--jvm=yes --java=$(java-config --java) --javac=$(java-config --javac)") \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libdir=/usr/$(get_libdir) \ + --docdir=/usr/share/doc/${PF} \ + --benchmark=yes \ + --sharedbde=no \ + --sharedcompiler=no \ + --customgc=no \ + --coflags="" || die "configure failed" + +# --bee=$(if use fullbee; then echo full; else echo partial; fi) \ + + emake || die "emake failed" +} + +src_install () { +# dodir /etc/env.d +# echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo + + emake DESTDIR="${D}" install || die "install failed" + + if use emacs; then + elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + +# einfo "Compiling bee..." +# emake compile-bee || die "compiling bee failed" +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |