summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@gmail.com>2010-02-24 17:56:21 -0300
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-09 22:28:12 +0100
commit0aa7e828a5443abb94ac9e6f6d7c7dfc51d4eb22 (patch)
tree76190fbca4ffa7b4053d7cfd8afb81c7bece71ec /dev-scheme/bigloo
parentdev-lisp/cl-opengl: make src_compile a noop, bump to -r1. (diff)
downloadlisp-0aa7e828a5443abb94ac9e6f6d7c7dfc51d4eb22.tar.gz
lisp-0aa7e828a5443abb94ac9e6f6d7c7dfc51d4eb22.tar.bz2
lisp-0aa7e828a5443abb94ac9e6f6d7c7dfc51d4eb22.zip
dev-scheme/bigloo: Bump to version 3.3a_p5
Diffstat (limited to 'dev-scheme/bigloo')
-rw-r--r--dev-scheme/bigloo/Manifest2
-rw-r--r--dev-scheme/bigloo/bigloo-3.3a_p5.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/dev-scheme/bigloo/Manifest b/dev-scheme/bigloo/Manifest
index ec6d3929..4ad261fe 100644
--- a/dev-scheme/bigloo/Manifest
+++ b/dev-scheme/bigloo/Manifest
@@ -3,6 +3,8 @@ AUX bigloo-3.3a-no_strip.patch 906 RMD160 1b0c5743e3b535b0628a933b75f4896f7fe921
AUX bigloo-3.3a_p4-no_strip.patch 906 RMD160 1b0c5743e3b535b0628a933b75f4896f7fe92128 SHA1 0ea6f7741f11de8c2a875ba479d5b2105d464fb5 SHA256 6d070eacfb407c60c8cbd56cef9eaba432ff1efdf4edf23a082647d38357fbe0
AUX bigloo-compilebee.patch 1063 RMD160 e1d9c3e0eb66c13e45871fc74b87d161b969e18f SHA1 c84e99223a45fc4a0a5ad2e58a936439fab3d866 SHA256 7b478165f8efc78037a596752261d927b63ed02c39640b08c63e2c60c31f2aae
DIST bigloo3.3a-4.tar.gz 12525931 RMD160 c0ee2f381c557d71466f7227990bde47f1b874e8 SHA1 875f1c0e3cdd51380882a618e07b73c9765c2163 SHA256 6382bda739a323b491f4b665e0c18bd440c48efbc1a08a9ba8397bba79b5fce5
+DIST bigloo3.3a-5.tar.gz 12515375 RMD160 3fa2760eee76f11b15183aab44fa57786cbe5bfd SHA1 b3d92ca9e4d1c4b1098e2b4b3704bca6766bdde1 SHA256 1d2d41ea6c63dfff03b6a1c4bc788ee8456e873e0899bf8b732fc14dea5be058
DIST bigloo3.3a.tar.gz 12519311 RMD160 5d361bf400f01e9dbc3a2bd661326bafba9f2c21 SHA1 029cfc1574bb0ad73c7fabca4a30d51e8456637d SHA256 d1de2297b0e8ec816cf95c34e3cefb516852842c58d8483638bfbcd917309fda
EBUILD bigloo-3.3a-r1.ebuild 2147 RMD160 0fbff4fe5f15e1ae9fbaaf48de2ab478c9410eb8 SHA1 dad1c4cb3c1c71504340e6711e9c0cc83481179d SHA256 1fe86d44c6b6da6ff2289df2afe2945c114874d15f192a66744df8582c3e2ad1
EBUILD bigloo-3.3a_p4-r3.ebuild 2413 RMD160 544808c69437ca494b7a25556a2174638aa90bfe SHA1 213eebae0a90c400eabd093438174237bd8ac61a SHA256 a8d8dcfacf11cc96a632468cff146067a7a635b6ac2636e1d4a3fe4ee1fd77bf
+EBUILD bigloo-3.3a_p5.ebuild 2660 RMD160 032b695b22173aa344600fed92fbfc55c751e529 SHA1 179c33c422ec71ec7c7daefdad01febc3bf9f7bc SHA256 fc124b8b17ca80d90fc2bfc5b307ca8c448200fdc58e8d1114096529496767bf
diff --git a/dev-scheme/bigloo/bigloo-3.3a_p5.ebuild b/dev-scheme/bigloo/bigloo-3.3a_p5.ebuild
new file mode 100644
index 00000000..d90e1d82
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.3a_p5.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit elisp-common multilib eutils flag-o-matic
+
+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/indes/fp/Bigloo/bigloo.html"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~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 )
+ ssl? ( dev-libs/openssl )
+ threads? ( dev-libs/boehm-gc[threads] )
+ gstreamer? ( media-libs/gstreamer
+ media-libs/gst-plugins-base )"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+SITEFILE="50bigloo-gentoo.el"
+
+IUSE="emacs java ssl threads gstreamer"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-no_strip.patch"
+}
+
+src_configure() {
+ filter-flags -fomit-frame-pointer
+
+ if ! use threads && use gstreamer; then
+ eerror "You must enable threads in order to build with gstreamer support"
+ die
+ 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} \
+ --lispdir="${SITELISP}/${PN}" \
+ --benchmark=yes \
+ --sharedbde=no \
+ --sharedcompiler=no \
+ --customgc=no \
+ --coflags="" \
+ --strip=no \
+ --bee=$(if use emacs; then echo full; else echo partial; fi) \
+ $(use_enable threads fthread) \
+ $(use_enable threads pthread) \
+ $(use_enable gstreamer) \
+ $(use_enable ssl) \
+ || die "configure failed"
+
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+
+ if use emacs; then
+ einfo "Compiling bee..."
+ emake -j1 compile-bee || die "compiling bee 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 emacs; then
+ emake DESTDIR="${D}" install-bee || die "install-bee failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+ if use emacs; then
+ elog "In order to use the bee-mode, add"
+ elog " (require 'bmacs)"
+ elog "to your ~/.emacs file"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}