summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-08-26 09:49:52 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-08-26 09:49:52 +0000
commit65de91189a1115dacdbda9aab15d131825b60d6d (patch)
treed04e0532023c8a6c72aa1d521a89099986b7a7ea /dev-scheme/gambit
parentFixed unhandled amd64 instruction bug #189396 (valgrind) (diff)
downloadhistorical-65de91189a1115dacdbda9aab15d131825b60d6d.tar.gz
historical-65de91189a1115dacdbda9aab15d131825b60d6d.tar.bz2
historical-65de91189a1115dacdbda9aab15d131825b60d6d.zip
bump to version 4 final
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r--dev-scheme/gambit/ChangeLog7
-rw-r--r--dev-scheme/gambit/Manifest16
-rw-r--r--dev-scheme/gambit/files/digest-gambit-4.0.03
-rw-r--r--dev-scheme/gambit/gambit-4.0.0.ebuild112
4 files changed, 133 insertions, 5 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index 78fa05b1efa8..7fc065eec61a 100644
--- a/dev-scheme/gambit/ChangeLog
+++ b/dev-scheme/gambit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/gambit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.9 2007/07/09 13:37:31 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.10 2007/08/26 09:49:51 hkbst Exp $
+
+*gambit-4.0.0 (26 Aug 2007)
+
+ 26 Aug 2007; Marijn Schouten <hkBst@gentoo.org> +gambit-4.0.0.ebuild:
+ bump to version 4 final
09 Jul 2007; Marijn Schouten <hkBst@gentoo.org> gambit-4.0_beta22.ebuild:
add emacs pre- and postlude, bug 184621
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 55200e4037cd..67a547192549 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -3,18 +3,26 @@ MD5 6a376196d952de4de14a94456c744692 files/50gambit-gentoo.el 351
RMD160 7ee53480cd16e29a347dbe5ba1f46217ee24631b files/50gambit-gentoo.el 351
SHA256 44572f602f12660a0d6536a621ccbce3be8dd4539f0fd083ed35cb41270035b5 files/50gambit-gentoo.el 351
DIST gambc-4.0b22.tar.gz 7133092 RMD160 5cba5e532b93802d383d8927cc85a70ccd680cc0 SHA1 3dad264611443991fc36fa0f949a5ff8b864f57a SHA256 14b6715466f9e8c7d5da01e8a066843e02e2101739a0a41ad17f06d903bc4caf
+DIST gambc-v4_0_0.tgz 11645990 RMD160 62f71be66dd6f16a61c92a3e5217a9e41374268d SHA1 d8f31420263a93b470c9abb1c259eab4dbebe66b SHA256 a4be96da0bb4636e98b8851ea10e0ab284169e8e14613a01e4e5e5fd9bc6a5d2
+EBUILD gambit-4.0.0.ebuild 3246 RMD160 68be45609534cb23c684ed464069909f0278dc5b SHA1 cb547c1d7f09b11216ec5cd1d7a759ac7dbb5272 SHA256 ccae35a5328a7583f8a2ae8692b5a778ddca004c5513d839f3135112b6d34396
+MD5 59c1a734a9176f3a3ed9387621fd2669 gambit-4.0.0.ebuild 3246
+RMD160 68be45609534cb23c684ed464069909f0278dc5b gambit-4.0.0.ebuild 3246
+SHA256 ccae35a5328a7583f8a2ae8692b5a778ddca004c5513d839f3135112b6d34396 gambit-4.0.0.ebuild 3246
EBUILD gambit-4.0_beta22.ebuild 3146 RMD160 7a3e37840a8c30419e624c1ff577b355957a86b7 SHA1 433d1a1fb41674c4bdb87ff5548c11098af832e3 SHA256 f3937af1a5f68de1b7eaf8c504196050de35d63bd1a932c4422bdf9a4f01feb3
MD5 0612255e9b743b22c7e1c20ef17e06b9 gambit-4.0_beta22.ebuild 3146
RMD160 7a3e37840a8c30419e624c1ff577b355957a86b7 gambit-4.0_beta22.ebuild 3146
SHA256 f3937af1a5f68de1b7eaf8c504196050de35d63bd1a932c4422bdf9a4f01feb3 gambit-4.0_beta22.ebuild 3146
-MISC ChangeLog 1556 RMD160 063ed57a2e450b6372141a7604a6e17f21e870e6 SHA1 4f3a7908e1446582eedaf4c9efb1b40113a35144 SHA256 28efa5016883c6961dd714e9d02dd478e88d675561483b499044444efc467a0d
-MD5 602a166f815e798b0f64a2da72be0119 ChangeLog 1556
-RMD160 063ed57a2e450b6372141a7604a6e17f21e870e6 ChangeLog 1556
-SHA256 28efa5016883c6961dd714e9d02dd478e88d675561483b499044444efc467a0d ChangeLog 1556
+MISC ChangeLog 1685 RMD160 4c929f7919615aa3f379849004f49abb1c57c392 SHA1 551ef598cdf133fbde6d536f204398757798b0b2 SHA256 e11dea4d984b0e7f85a57546e7395c525957e11317129e43a9b3bd2f15326358
+MD5 cf14ab399c2ef08b725841fdd37b9f03 ChangeLog 1685
+RMD160 4c929f7919615aa3f379849004f49abb1c57c392 ChangeLog 1685
+SHA256 e11dea4d984b0e7f85a57546e7395c525957e11317129e43a9b3bd2f15326358 ChangeLog 1685
MISC metadata.xml 159 RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 SHA1 f037b0d8dd3d592d04170d21a1a9b9c594541612 SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b
MD5 50b0f9698722324cfb463e8cb165fc87 metadata.xml 159
RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 metadata.xml 159
SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b metadata.xml 159
+MD5 184dc65cc870af4cefa96abdaa19fd28 files/digest-gambit-4.0.0 235
+RMD160 af3564da1c9b96a460a5fdcfc1c79ad62df4670d files/digest-gambit-4.0.0 235
+SHA256 49fabf1ba5bed3e886d711a608ea1ce4ce2131c765a91fef5f015c38c6676c37 files/digest-gambit-4.0.0 235
MD5 0cca93b792f4a59b3367b13b4c8a5ac8 files/digest-gambit-4.0_beta22 241
RMD160 01f21a759f7b5cf2142095a1e5cf4e8441f61e7d files/digest-gambit-4.0_beta22 241
SHA256 76768cf25e6f9c7d8387e0106f80c163b27c15e28d77cb12d235beb46a111541 files/digest-gambit-4.0_beta22 241
diff --git a/dev-scheme/gambit/files/digest-gambit-4.0.0 b/dev-scheme/gambit/files/digest-gambit-4.0.0
new file mode 100644
index 000000000000..afd504bd2775
--- /dev/null
+++ b/dev-scheme/gambit/files/digest-gambit-4.0.0
@@ -0,0 +1,3 @@
+MD5 4421d4e4489713c43626975e7ad3be46 gambc-v4_0_0.tgz 11645990
+RMD160 62f71be66dd6f16a61c92a3e5217a9e41374268d gambc-v4_0_0.tgz 11645990
+SHA256 a4be96da0bb4636e98b8851ea10e0ab284169e8e14613a01e4e5e5fd9bc6a5d2 gambc-v4_0_0.tgz 11645990
diff --git a/dev-scheme/gambit/gambit-4.0.0.ebuild b/dev-scheme/gambit/gambit-4.0.0.ebuild
new file mode 100644
index 000000000000..746c946411ad
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.0.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0.0.ebuild,v 1.1 2007/08/26 09:49:51 hkbst Exp $
+
+inherit eutils elisp-common check-reqs autotools multilib
+
+MY_PN=gambc
+MY_PV=${PV//./_}
+MY_P=${MY_PN}-v${MY_PV}
+
+DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter."
+HOMEPAGE="http://www.iro.umontreal.ca/~gambit/"
+SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.0/source/${MY_P}.tgz"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND="emacs? ( virtual/emacs )"
+
+SITEFILE="50gambit-gentoo.el"
+
+S=${WORKDIR}/${MY_P}
+
+IUSE="emacs big-iron"
+
+pkg_setup() {
+ if ! use big-iron; then
+ ewarn "not using gcc specific optimizations and not compiling syntax-case macro system"
+ ewarn "approximately 0.5GB ram will be needed"
+ ewarn "if you experience thrashing, try disabling parallel building"
+ # need this much memory in MBytes (does *not* check swap)
+ CHECKREQS_MEMORY="768" check_reqs
+ else
+ ewarn "using gcc specific optimizations and compiling syntax-case macro system"
+ ewarn "this will cause approximately 2GB ram to be used instead of 0.5GB."
+ ewarn "this will cause heavy thrashing of your system unless your system is big iron"
+ # need this much memory in MBytes (does *not* check swap)
+ CHECKREQS_MEMORY="2560" check_reqs
+ fi
+}
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+# cp configure.ac configure.ac.old
+ sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
+ -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
+ eautoreconf
+# diff -u configure.ac.old configure.ac
+}
+
+src_compile() {
+ econf --enable-shared --enable-single-host $(use_enable big-iron)
+ emake || die "emake failed"
+
+ if use emacs; then
+ ( cd misc; elisp-comp *.el )
+ fi
+
+ # compile syntax-case
+ if use big-iron; then
+ einfo "compiling syntax-case.scm..."
+ LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
+ fi
+}
+
+src_test() {
+ vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ if ! GAMBCOPT="=." emake -j1 check; 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() {
+ einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
+
+ rm ${D}/usr/current
+
+ use big-iron && dolib syntax-case.*
+ mv ${D}/usr/syntax-case.scm ${D}/usr/$(get_libdir)
+
+ # rename the /usr/bin/gsc to avoid collision with gsc from ghostscript
+ mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit
+
+ # remove emacs/site-lisp/gambit.el
+ rm -r ${D}/usr/share/emacs
+ if use emacs; then
+ elisp-install ${PN} misc/*.{el,elc}
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
+
+ dodoc INSTALL.txt README
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+
+ # create some more explicit names
+ dosym gsc-gambit usr/bin/gambit-compiler
+ dosym gsi usr/bin/gambit-interpreter
+
+ # automatically load syntax-case for r5rs+ goodness
+ dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
+ echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/usr/gambcext
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}