diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2009-06-04 12:21:37 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2009-06-04 12:21:37 +0000 |
commit | 283c494d22167ebdea3f0218afc069526fb958aa (patch) | |
tree | a7d5e2fce64a6d14b8eee94abf09c479e0392804 /dev-scheme/bigloo | |
parent | Version bump KDE 4.2.4 (diff) | |
download | gentoo-2-283c494d22167ebdea3f0218afc069526fb958aa.tar.gz gentoo-2-283c494d22167ebdea3f0218afc069526fb958aa.tar.bz2 gentoo-2-283c494d22167ebdea3f0218afc069526fb958aa.zip |
bump
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme/bigloo')
-rw-r--r-- | dev-scheme/bigloo/ChangeLog | 9 | ||||
-rw-r--r-- | dev-scheme/bigloo/bigloo-3.2b_p2.ebuild | 86 | ||||
-rw-r--r-- | dev-scheme/bigloo/metadata.xml | 3 |
3 files changed, 96 insertions, 2 deletions
diff --git a/dev-scheme/bigloo/ChangeLog b/dev-scheme/bigloo/ChangeLog index d6c15c2dc210..84ca3540baec 100644 --- a/dev-scheme/bigloo/ChangeLog +++ b/dev-scheme/bigloo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-scheme/bigloo -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.32 2009/02/13 13:20:36 hkbst Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.33 2009/06/04 12:21:37 hkbst Exp $ + +*bigloo-3.2b_p2 (04 Jun 2009) + + 04 Jun 2009; Marijn Schouten <hkBst@gentoo.org> +bigloo-3.2b_p2.ebuild: + bump 13 Feb 2009; Marijn Schouten <hkBst@gentoo.org> bigloo-3.2a_p2.ebuild: fix bug 258775 diff --git a/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild b/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild new file mode 100644 index 000000000000..2fbb4d5f75cf --- /dev/null +++ b/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild @@ -0,0 +1,86 @@ +# 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.2b_p2.ebuild,v 1.1 2009/06/04 12:21:37 hkbst Exp $ + +inherit elisp-common multilib eutils + +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" + +# bug 254916 for >=dev-libs/boehm-gc-7.1 +DEPEND=">=dev-libs/boehm-gc-7.1 + emacs? ( virtual/emacs ) + java? ( virtual/jdk app-arch/zip )" + +RDEPEND="dev-libs/boehm-gc" + +S=${WORKDIR}/${MY_P%-*} + +SITEFILE="50bigloo-gentoo.el" + +IUSE="bee emacs java" + +src_compile() { + # 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="" \ + --bee=$(if use bee; then echo full; else echo partial; fi) + + emake || die "emake failed" + + if use bee; then + einfo "Compiling bee..." + emake compile-bee || die "compiling bee failed" + fi + + if use emacs; then + elisp-compile etc/*.el || die "elisp-compile failed" + fi +} + +# default thinks that target doesn't exist +src_test() { + vecho ">>> Test phase [test]: ${CATEGORY}/${PF}" + emake test || die +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + if use bee; then + emake DESTDIR="${D}" install-bee || die + fi + + if use emacs; then + elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-scheme/bigloo/metadata.xml b/dev-scheme/bigloo/metadata.xml index 9bf5a6a8f8ae..51d4af00461c 100644 --- a/dev-scheme/bigloo/metadata.xml +++ b/dev-scheme/bigloo/metadata.xml @@ -12,4 +12,7 @@ stand alone binary executables. Bigloo enables full connections between Scheme and C programs, between Scheme and Java programs, and between Scheme and C# programs. </longdescription> +<use> +<flag name='bee'>Bigloo integrated development environment</flag> +</use> </pkgmetadata> |