summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-09-11 09:38:35 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-09-11 09:38:35 +0000
commit74e11c7993b17bca75c1d548d7c882d52ce3a7b2 (patch)
tree7cca02105e8f9a4c1c26c4c038b7442eb2b5b11a /dev-scheme
parentelibtoolize for sane .so versioning on FreeBSD. (diff)
downloadgentoo-2-74e11c7993b17bca75c1d548d7c882d52ce3a7b2.tar.gz
gentoo-2-74e11c7993b17bca75c1d548d7c882d52ce3a7b2.tar.bz2
gentoo-2-74e11c7993b17bca75c1d548d7c882d52ce3a7b2.zip
3.0b: Many libraries bug fixes (date, xml, arithmetic, operating system, sockets)
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/bigloo/ChangeLog8
-rw-r--r--dev-scheme/bigloo/bigloo-3.0b.ebuild79
-rw-r--r--dev-scheme/bigloo/files/digest-bigloo-3.0b3
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-scheme/bigloo/ChangeLog b/dev-scheme/bigloo/ChangeLog
index de5807fab90c..4cf68c78bd7c 100644
--- a/dev-scheme/bigloo/ChangeLog
+++ b/dev-scheme/bigloo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/bigloo
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.18 2007/06/27 06:53:18 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.19 2007/09/11 09:38:34 hkbst Exp $
+
+*bigloo-3.0b (11 Sep 2007)
+
+ 11 Sep 2007; Marijn Schouten <hkBst@gentoo.org> +bigloo-3.0b.ebuild:
+ 3.0b: Many libraries bug fixes (date, xml, arithmetic, operating system,
+ sockets)
27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> bigloo-2.9a.ebuild:
stable x86, bug 182690
diff --git a/dev-scheme/bigloo/bigloo-3.0b.ebuild b/dev-scheme/bigloo/bigloo-3.0b.ebuild
new file mode 100644
index 000000000000..92bc3eebc73c
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.0b.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.0b.ebuild,v 1.1 2007/09/11 09:38:34 hkbst Exp $
+
+inherit elisp-common multilib
+
+MY_P=${PN}${PV/_p/-}
+
+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="emacs? ( virtual/emacs )"
+
+S=${WORKDIR}/${MY_P%-*}
+
+SITEFILE="50bigloo-gentoo.el"
+
+IUSE="emacs"
+# fullbee"
+
+src_compile() {
+ use emacs && elisp-comp etc/*.el
+
+ # 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 --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 \
+ --coflags="" || die "configure failed"
+
+# --bee=$(if use fullbee; then echo full; else echo partial; fi) \
+
+ # parallel build is broken
+ emake -j1 || die "emake failed"
+}
+
+# "make test" does something weird so default src_test() in /usr/lib/portage/bin/ebuild.sh fails the following test
+# elif emake -j1 test -n &> /dev/null; then
+# so copy straight from default src_test() all the stuff which depends on that test passing
+src_test() {
+ vecho ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ if ! emake -j1 test; then
+ hasq test $FEATURES && die "Make test failed. See above for details."
+ hasq test $FEATURES || eerror "Make test failed. See above for details."
+ fi
+}
+
+src_install () {
+# dodir /etc/env.d
+# echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo
+
+ # make the links created not point to DESTDIR, since that is only a temporary home
+ sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc
+ emake -j1 DESTDIR=${D} install || die "install failed"
+
+ if use emacs; then
+ elisp-install ${PN} etc/*.el
+ 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
+}
diff --git a/dev-scheme/bigloo/files/digest-bigloo-3.0b b/dev-scheme/bigloo/files/digest-bigloo-3.0b
new file mode 100644
index 000000000000..a9307d9d82a7
--- /dev/null
+++ b/dev-scheme/bigloo/files/digest-bigloo-3.0b
@@ -0,0 +1,3 @@
+MD5 426ad39c4358ca21ce3e49eebbcb12cf bigloo3.0b.tar.gz 11585203
+RMD160 ba6fb89a7660951167fac6495e369d3a20196d2d bigloo3.0b.tar.gz 11585203
+SHA256 2c24fa09d85d13a11736f7a00844bfb0d25e48bb883effd875effb6f74ccee67 bigloo3.0b.tar.gz 11585203