summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-09-12 12:06:53 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-09-12 12:06:53 +0000
commita79995ddec4a5f30f21d5dd3900cbf2b0a269e7b (patch)
tree74cc93e5c602e06a02bb1e98b45381ecfc7603c9 /dev-scheme
parentalpha/ia64/x86 stable wrt #192060 (diff)
downloadhistorical-a79995ddec4a5f30f21d5dd3900cbf2b0a269e7b.tar.gz
historical-a79995ddec4a5f30f21d5dd3900cbf2b0a269e7b.tar.bz2
historical-a79995ddec4a5f30f21d5dd3900cbf2b0a269e7b.zip
bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-scheme')
-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.13
-rw-r--r--dev-scheme/gambit/gambit-4.0.1.ebuild125
4 files changed, 146 insertions, 5 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index 10892ed7e914..cfa293a2febf 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.12 2007/09/02 11:52:29 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.13 2007/09/12 12:06:53 hkbst Exp $
+
+*gambit-4.0.1 (12 Sep 2007)
+
+ 12 Sep 2007; Marijn Schouten <hkBst@gentoo.org> +gambit-4.0.1.ebuild:
+ bump
02 Sep 2007; Marijn Schouten <hkBst@gentoo.org> gambit-4.0.0.ebuild:
inform the user about syntax-case per Etienne
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 9fde6bef8103..90371034b96a 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -4,18 +4,23 @@ 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
+DIST gambc-v4_0_1.tgz 11676506 RMD160 ec53f9cfc162b7d82521ef5a8536e379fea65805 SHA1 7400fb30385bdebe715e3b5e04a8700498c8fd5a SHA256 8a5577fed7e788f4a8c72f47a59ccd1a26729c22d149a290e169c369bbe66c45
EBUILD gambit-4.0.0.ebuild 3809 RMD160 3f03b6889895799fce479d8f971e423aea829aa1 SHA1 3c2f79d3b2a3d3e8eab9ecd8c14773593a468f13 SHA256 0c0863d41dd9d32e1caa5da4ffd7bd635baa33c4b58a96a3233932dada74775e
MD5 d56960d15e618dce9d704e6dc3094049 gambit-4.0.0.ebuild 3809
RMD160 3f03b6889895799fce479d8f971e423aea829aa1 gambit-4.0.0.ebuild 3809
SHA256 0c0863d41dd9d32e1caa5da4ffd7bd635baa33c4b58a96a3233932dada74775e gambit-4.0.0.ebuild 3809
+EBUILD gambit-4.0.1.ebuild 3809 RMD160 656a4cdab20cb51c8734fefdc5e5f55bd1cfcd69 SHA1 7964d1d8bca2a951265e3a549ffc1b7ad9536c4a SHA256 7691effed0e82850988319d1b862aa42542e808cc4b1d1c887ccc9ec51db5da5
+MD5 d3ae4a2471d63049ccafc2b64e22b305 gambit-4.0.1.ebuild 3809
+RMD160 656a4cdab20cb51c8734fefdc5e5f55bd1cfcd69 gambit-4.0.1.ebuild 3809
+SHA256 7691effed0e82850988319d1b862aa42542e808cc4b1d1c887ccc9ec51db5da5 gambit-4.0.1.ebuild 3809
EBUILD gambit-4.0_beta22.ebuild 3155 RMD160 8234224efd18b5d95585d64266614bffd5e04dae SHA1 37630b38efe0358379ebc087d44f67450023ec11 SHA256 558c2adefdfc954f10aeba50cb863f4dda9d06f00f8fc12d47c907f95b3dbb23
MD5 a39cce230469ec519fa9a06b01c3b865 gambit-4.0_beta22.ebuild 3155
RMD160 8234224efd18b5d95585d64266614bffd5e04dae gambit-4.0_beta22.ebuild 3155
SHA256 558c2adefdfc954f10aeba50cb863f4dda9d06f00f8fc12d47c907f95b3dbb23 gambit-4.0_beta22.ebuild 3155
-MISC ChangeLog 2244 RMD160 3eb2a162f12bf27e4bef0f38fd23888ae8708084 SHA1 ba1532448342bb6d5f883d58604a350c7308a685 SHA256 5b24d28682d5935ffcbc04fbb45b2394fdf539b34dbf6b09599cf21e32e403a2
-MD5 5fbc0dd60a5e221339c22d656f11bc49 ChangeLog 2244
-RMD160 3eb2a162f12bf27e4bef0f38fd23888ae8708084 ChangeLog 2244
-SHA256 5b24d28682d5935ffcbc04fbb45b2394fdf539b34dbf6b09599cf21e32e403a2 ChangeLog 2244
+MISC ChangeLog 2353 RMD160 6f933c65c54c9c3cfcd27a787fb44ad3949887d8 SHA1 ce0a8554dea3100938061d26745df4b072a09236 SHA256 cbe3b8cec0e25f9c5fa8519cbf5ed8a80f503e035611fb9b5e369e4cefead46b
+MD5 d09c182461b4842c920086bdab64d85a ChangeLog 2353
+RMD160 6f933c65c54c9c3cfcd27a787fb44ad3949887d8 ChangeLog 2353
+SHA256 cbe3b8cec0e25f9c5fa8519cbf5ed8a80f503e035611fb9b5e369e4cefead46b ChangeLog 2353
MISC metadata.xml 159 RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 SHA1 f037b0d8dd3d592d04170d21a1a9b9c594541612 SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b
MD5 50b0f9698722324cfb463e8cb165fc87 metadata.xml 159
RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 metadata.xml 159
@@ -23,6 +28,9 @@ SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b metadata
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 cd687219032af37a1dfa220adc395040 files/digest-gambit-4.0.1 235
+RMD160 a6c7c155b80a3bb8985863eea61a28ae27522a96 files/digest-gambit-4.0.1 235
+SHA256 482ee2dd848ef53c8ba72d5de5c437821eac6cb1119728a182a40c59fea031e5 files/digest-gambit-4.0.1 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.1 b/dev-scheme/gambit/files/digest-gambit-4.0.1
new file mode 100644
index 000000000000..17be8a8ebac5
--- /dev/null
+++ b/dev-scheme/gambit/files/digest-gambit-4.0.1
@@ -0,0 +1,3 @@
+MD5 1129b05db8d1a65568d53b6fb9a0445e gambc-v4_0_1.tgz 11676506
+RMD160 ec53f9cfc162b7d82521ef5a8536e379fea65805 gambc-v4_0_1.tgz 11676506
+SHA256 8a5577fed7e788f4a8c72f47a59ccd1a26729c22d149a290e169c369bbe66c45 gambc-v4_0_1.tgz 11676506
diff --git a/dev-scheme/gambit/gambit-4.0.1.ebuild b/dev-scheme/gambit/gambit-4.0.1.ebuild
new file mode 100644
index 000000000000..4086d00d6595
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.0.1.ebuild
@@ -0,0 +1,125 @@
+# 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.1.ebuild,v 1.1 2007/09/12 12:06:53 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="big-iron emacs static"
+
+pkg_setup() {
+ if ! use big-iron; then
+ ewarn "NOT compiling each Scheme module as a single C function"
+ ewarn "NOT using gcc specific optimizations"
+ ewarn "NOT compiling syntax-case macro system"
+ ewarn "approximately 0.5GB ram will be needed"
+ ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
+ # need this much memory in MBytes (does *not* check swap)
+ CHECKREQS_MEMORY="768" check_reqs
+ else
+ ewarn "compiling each Scheme module as a single C function"
+ ewarn "using gcc specific optimizations"
+ ewarn "compiling syntax-case macro system"
+ ewarn "approximately 2GB ram will be needed instead of 0.5GB"
+ ewarn "this will cause heavy thrashing of your system"
+ ewarn "and may cause your compiler to crash when it runs out of memory"
+ ewarn "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
+ #don't force -O1
+ sed 's:$DASH_O1::' -i configure.ac
+ eautoreconf
+# diff -u configure.ac.old configure.ac
+}
+
+src_compile() {
+ econf $(if use static; then echo --disable-shared; else echo --enable-shared; fi) \
+ $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
+ 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
+
+# dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
+ echo "GAMBCOPT=\"=/usr/\"" > "${T}/50gambit" && doenvd "${T}/50gambit"
+
+ ewarn "syntax-case will be automatically loaded for R5RS+ goodness"
+ ewarn "edit /etc/gambcext if you want to set your own options"
+ dosym /etc/gambcext /usr/gambcext
+ echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/etc/gambcext
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}