diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-09-24 12:35:12 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-09-24 12:35:12 +0000 |
commit | 976cd007eef78337425f5ed8f7429a01145148f4 (patch) | |
tree | cdb64bfa80194a9c60f7ffb533f5f7d8cceed281 /dev-scheme/bigloo | |
parent | Stable for HPPA (bug #193563). (diff) | |
download | gentoo-2-976cd007eef78337425f5ed8f7429a01145148f4.tar.gz gentoo-2-976cd007eef78337425f5ed8f7429a01145148f4.tar.bz2 gentoo-2-976cd007eef78337425f5ed8f7429a01145148f4.zip |
bump 3.0b-2, minor bugfix version
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-scheme/bigloo')
-rw-r--r-- | dev-scheme/bigloo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-scheme/bigloo/bigloo-3.0b_p2.ebuild | 84 | ||||
-rw-r--r-- | dev-scheme/bigloo/files/digest-bigloo-3.0b_p2 | 3 |
3 files changed, 93 insertions, 1 deletions
diff --git a/dev-scheme/bigloo/ChangeLog b/dev-scheme/bigloo/ChangeLog index b1726bffc8bb..ef2963baf286 100644 --- a/dev-scheme/bigloo/ChangeLog +++ b/dev-scheme/bigloo/ChangeLog @@ -1,6 +1,11 @@ # 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.20 2007/09/11 15:32:44 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.21 2007/09/24 12:35:11 hkbst Exp $ + +*bigloo-3.0b_p2 (24 Sep 2007) + + 24 Sep 2007; Marijn Schouten <hkBst@gentoo.org> +bigloo-3.0b_p2.ebuild: + bump 3.0b-2, minor bugfix version 11 Sep 2007; Marijn Schouten <hkBst@gentoo.org> bigloo-3.0b.ebuild: add java backend, bug 192131 diff --git a/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild b/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild new file mode 100644 index 000000000000..b85f9fbcbe66 --- /dev/null +++ b/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild @@ -0,0 +1,84 @@ +# 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_p2.ebuild,v 1.1 2007/09/24 12:35:11 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 ) + java? ( virtual/jdk )" + +S=${WORKDIR}/${MY_P%-*} + +SITEFILE="50bigloo-gentoo.el" + +IUSE="emacs java" +# 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 \ + $(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 \ + --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_p2 b/dev-scheme/bigloo/files/digest-bigloo-3.0b_p2 new file mode 100644 index 000000000000..0bfe473e6b73 --- /dev/null +++ b/dev-scheme/bigloo/files/digest-bigloo-3.0b_p2 @@ -0,0 +1,3 @@ +MD5 6f798993292069acac2a4498af0bb46d bigloo3.0b-2.tar.gz 11585809 +RMD160 a73a7ba41cbf7de663ccd2b967b3d5a48307ce04 bigloo3.0b-2.tar.gz 11585809 +SHA256 ef5774aec98524ee93ea981997db64a8d545f5b69b5702539adde3c80cf5a515 bigloo3.0b-2.tar.gz 11585809 |