summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-11-18 18:29:34 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-11-18 18:29:34 +0000
commit09046a42eb6c1490613a0c3675a76b1d9b63c831 (patch)
tree23bae52ae8f24338ff12fdecdb30f12fd887c207 /dev-scheme
parentStable on ppc64; bug #199332 (diff)
downloadhistorical-09046a42eb6c1490613a0c3675a76b1d9b63c831.tar.gz
historical-09046a42eb6c1490613a0c3675a76b1d9b63c831.tar.bz2
historical-09046a42eb6c1490613a0c3675a76b1d9b63c831.zip
bump
Package-Manager: portage-2.1.3.19
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.1.03
-rw-r--r--dev-scheme/gambit/gambit-4.1.0.ebuild126
4 files changed, 147 insertions, 5 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index cfa293a2febf..d357d4b0bc1b 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.13 2007/09/12 12:06:53 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.14 2007/11/18 18:29:34 hkbst Exp $
+
+*gambit-4.1.0 (18 Nov 2007)
+
+ 18 Nov 2007; Marijn Schouten <hkBst@gentoo.org> +gambit-4.1.0.ebuild:
+ bump
*gambit-4.0.1 (12 Sep 2007)
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 90371034b96a..242be8e53a01 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -5,6 +5,7 @@ SHA256 44572f602f12660a0d6536a621ccbce3be8dd4539f0fd083ed35cb41270035b5 files/50
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
+DIST gambc-v4_1_0.tgz 11764506 RMD160 162095343bd5163b1f1c5c30862f3831bc396a50 SHA1 f1759cd8f27bfcd1d9ab270bd73d78d7f0641188 SHA256 4addf724778f5170b0a2bafe86fb433ce52a4ec32e0d7acc35959e3f38800f27
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
@@ -17,10 +18,14 @@ EBUILD gambit-4.0_beta22.ebuild 3155 RMD160 8234224efd18b5d95585d64266614bffd5e0
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 2353 RMD160 6f933c65c54c9c3cfcd27a787fb44ad3949887d8 SHA1 ce0a8554dea3100938061d26745df4b072a09236 SHA256 cbe3b8cec0e25f9c5fa8519cbf5ed8a80f503e035611fb9b5e369e4cefead46b
-MD5 d09c182461b4842c920086bdab64d85a ChangeLog 2353
-RMD160 6f933c65c54c9c3cfcd27a787fb44ad3949887d8 ChangeLog 2353
-SHA256 cbe3b8cec0e25f9c5fa8519cbf5ed8a80f503e035611fb9b5e369e4cefead46b ChangeLog 2353
+EBUILD gambit-4.1.0.ebuild 3862 RMD160 f8ffe3823faa1cdefe5f2f1aa0dc7fd6264c4e12 SHA1 b64f4a9c3cff37b32d1729b730d4b4f10e2151cb SHA256 8b6f13a2836831d41761a9af059fb5d9e8693b0378b434303a83f4ef10d08fd2
+MD5 5f900e520cafddfe7f8cbfd474501745 gambit-4.1.0.ebuild 3862
+RMD160 f8ffe3823faa1cdefe5f2f1aa0dc7fd6264c4e12 gambit-4.1.0.ebuild 3862
+SHA256 8b6f13a2836831d41761a9af059fb5d9e8693b0378b434303a83f4ef10d08fd2 gambit-4.1.0.ebuild 3862
+MISC ChangeLog 2462 RMD160 eee9269878da2e9ab32a12b387e492c46451c1a4 SHA1 9b8a14fc947cbcae90c723e01f86e250342f3784 SHA256 b0f9647793bb979a0538cfc32c55f99f4befe6361ada611c604d66736d76968f
+MD5 86f57f0532c8e1b9b3e057d8ce7e87ca ChangeLog 2462
+RMD160 eee9269878da2e9ab32a12b387e492c46451c1a4 ChangeLog 2462
+SHA256 b0f9647793bb979a0538cfc32c55f99f4befe6361ada611c604d66736d76968f ChangeLog 2462
MISC metadata.xml 159 RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 SHA1 f037b0d8dd3d592d04170d21a1a9b9c594541612 SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b
MD5 50b0f9698722324cfb463e8cb165fc87 metadata.xml 159
RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 metadata.xml 159
@@ -34,3 +39,6 @@ SHA256 482ee2dd848ef53c8ba72d5de5c437821eac6cb1119728a182a40c59fea031e5 files/di
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
+MD5 7d988cbb275f5ebb458005e2791b8df0 files/digest-gambit-4.1.0 235
+RMD160 bc80df4081023aa6bb15ec2c8dbe36fe2e72f32e files/digest-gambit-4.1.0 235
+SHA256 bdc0782bd2899575578e5239df2143baa072283b3f2a242aeaca4819612902c2 files/digest-gambit-4.1.0 235
diff --git a/dev-scheme/gambit/files/digest-gambit-4.1.0 b/dev-scheme/gambit/files/digest-gambit-4.1.0
new file mode 100644
index 000000000000..3c39cf9c3f3d
--- /dev/null
+++ b/dev-scheme/gambit/files/digest-gambit-4.1.0
@@ -0,0 +1,3 @@
+MD5 4cc60b62a8065826e486d3c8f94aa903 gambc-v4_1_0.tgz 11764506
+RMD160 162095343bd5163b1f1c5c30862f3831bc396a50 gambc-v4_1_0.tgz 11764506
+SHA256 4addf724778f5170b0a2bafe86fb433ce52a4ec32e0d7acc35959e3f38800f27 gambc-v4_1_0.tgz 11764506
diff --git a/dev-scheme/gambit/gambit-4.1.0.ebuild b/dev-scheme/gambit/gambit-4.1.0.ebuild
new file mode 100644
index 000000000000..390641ca4b79
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.1.0.ebuild
@@ -0,0 +1,126 @@
+# 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.1.0.ebuild,v 1.1 2007/11/18 18:29:34 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/v${PV%.*}/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) \
+ econf $(use_enable !static shared) $(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
+}