summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-12-17 21:32:54 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-12-17 21:32:54 +0000
commit4f03afa8b5af8e69896dd3af21f5879b6b71b385 (patch)
treeb67032e383b7ec3accd317e8c34fac112fa13476 /dev-scheme
parentno need to dodoc the license (diff)
downloadhistorical-4f03afa8b5af8e69896dd3af21f5879b6b71b385.tar.gz
historical-4f03afa8b5af8e69896dd3af21f5879b6b71b385.tar.bz2
historical-4f03afa8b5af8e69896dd3af21f5879b6b71b385.zip
bump
Package-Manager: portage-2.1.4_rc10
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.23
-rw-r--r--dev-scheme/gambit/gambit-4.1.2.ebuild102
4 files changed, 123 insertions, 5 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index ec0b69e96e81..8816c58c047c 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.15 2007/12/16 13:01:23 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.16 2007/12/17 21:32:54 hkbst Exp $
+
+*gambit-4.1.2 (17 Dec 2007)
+
+ 17 Dec 2007; Marijn Schouten <hkBst@gentoo.org> +gambit-4.1.2.ebuild:
+ bump
*gambit-4.1.1 (16 Dec 2007)
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 7e0f54fa3007..c9e7e278e0d9 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -7,6 +7,7 @@ DIST gambc-v4_0_0.tgz 11645990 RMD160 62f71be66dd6f16a61c92a3e5217a9e41374268d S
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
DIST gambc-v4_1_1.tgz 11971875 RMD160 9a3dc12b1b98c62f3c567150957b0337360bcee8 SHA1 721a00e3d2fdf41780f0fb877060105780ac9a0d SHA256 8db1fa538966ceae1f8b5f916758c21dbf0539417167c7cf99b609c12b11c7bc
+DIST gambc-v4_1_2.tgz 11986578 RMD160 645366cffbc0375ffb2c4d0ccad1359385dd4820 SHA1 ee105466ebb6498e1caea27f0282672bb8f3d7bf SHA256 16158e0ce3d79bb23039e9c429971dff3baef944582198d27df52a0b3808a4ea
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
@@ -27,10 +28,14 @@ EBUILD gambit-4.1.1.ebuild 3073 RMD160 f1a398a751f4e65caf3d1eb26716e22b9038a964
MD5 181589726545ddd56ca6fa593bbd6298 gambit-4.1.1.ebuild 3073
RMD160 f1a398a751f4e65caf3d1eb26716e22b9038a964 gambit-4.1.1.ebuild 3073
SHA256 966870dd800654b2387d0761d96f9aeddc4dbf408d3ab8fa5df72eabc7b528fa gambit-4.1.1.ebuild 3073
-MISC ChangeLog 3115 RMD160 22109513f4e186cdf1bbd9b5093c9653c53642fc SHA1 8d11e729211f92e173d0723535bb418056f85a12 SHA256 f610f1d562553796e1a095311114d8e7af94f3f048d4de9104e6869231ad30bd
-MD5 214362e335982f86e0ad12491966fc73 ChangeLog 3115
-RMD160 22109513f4e186cdf1bbd9b5093c9653c53642fc ChangeLog 3115
-SHA256 f610f1d562553796e1a095311114d8e7af94f3f048d4de9104e6869231ad30bd ChangeLog 3115
+EBUILD gambit-4.1.2.ebuild 2916 RMD160 d04c523a94400b68badf04a1b78d5bc073e2fbac SHA1 8f4f29eef6bda355a584a517b924c70a9d7df1d1 SHA256 7b1ec8d55925121289230e4b3fe057fe035035bf955d63535a298490ee2dee98
+MD5 511f3715e343d829734ccfc0c0511f94 gambit-4.1.2.ebuild 2916
+RMD160 d04c523a94400b68badf04a1b78d5bc073e2fbac gambit-4.1.2.ebuild 2916
+SHA256 7b1ec8d55925121289230e4b3fe057fe035035bf955d63535a298490ee2dee98 gambit-4.1.2.ebuild 2916
+MISC ChangeLog 3224 RMD160 9729de6ab68d5916c8cc5b78a1d288e0db89f5c8 SHA1 f295cbfbe02f9748111fc1a20f69c3ebb1f3afc8 SHA256 37263ec3507b924115ad78c785d467c34dd695fceefb213c17b4ccaa59a003d6
+MD5 972e4fcb4ad52a19e913deb2e911a5ae ChangeLog 3224
+RMD160 9729de6ab68d5916c8cc5b78a1d288e0db89f5c8 ChangeLog 3224
+SHA256 37263ec3507b924115ad78c785d467c34dd695fceefb213c17b4ccaa59a003d6 ChangeLog 3224
MISC metadata.xml 159 RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 SHA1 f037b0d8dd3d592d04170d21a1a9b9c594541612 SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b
MD5 50b0f9698722324cfb463e8cb165fc87 metadata.xml 159
RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 metadata.xml 159
@@ -50,3 +55,6 @@ SHA256 bdc0782bd2899575578e5239df2143baa072283b3f2a242aeaca4819612902c2 files/di
MD5 b9958d545efa3de2e3098ab351624774 files/digest-gambit-4.1.1 235
RMD160 92214fba591e1f8452e26ed4b523ef799b899b2c files/digest-gambit-4.1.1 235
SHA256 5d0ac993208ef2ee05e83ee34c109b6763efe2ebd9dd253e808c70f2980b2737 files/digest-gambit-4.1.1 235
+MD5 bcb9314654f5e9e2880d789c35474feb files/digest-gambit-4.1.2 235
+RMD160 10e512ecbb0e160ecb39466d0919a58adcccfdaf files/digest-gambit-4.1.2 235
+SHA256 a39b196df1b53e6275d42a7ba065b79175992f5acd767f7fbb9af37fd0cef1c8 files/digest-gambit-4.1.2 235
diff --git a/dev-scheme/gambit/files/digest-gambit-4.1.2 b/dev-scheme/gambit/files/digest-gambit-4.1.2
new file mode 100644
index 000000000000..610a5c5a5021
--- /dev/null
+++ b/dev-scheme/gambit/files/digest-gambit-4.1.2
@@ -0,0 +1,3 @@
+MD5 2838dc47f73e22f9d5da11e79a01d63c gambc-v4_1_2.tgz 11986578
+RMD160 645366cffbc0375ffb2c4d0ccad1359385dd4820 gambc-v4_1_2.tgz 11986578
+SHA256 16158e0ce3d79bb23039e9c429971dff3baef944582198d27df52a0b3808a4ea gambc-v4_1_2.tgz 11986578
diff --git a/dev-scheme/gambit/gambit-4.1.2.ebuild b/dev-scheme/gambit/gambit-4.1.2.ebuild
new file mode 100644
index 000000000000..4a1bf18f21fa
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.1.2.ebuild
@@ -0,0 +1,102 @@
+# 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.2.ebuild,v 1.1 2007/12/17 21:32:54 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 "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 "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 $(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
+}
+
+src_install() {
+ einstall docdir="${D}"/usr/share/doc/${PF} || die "einstall failed"
+
+ rm "${D}"/usr/current
+
+ 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
+
+ echo "GAMBCOPT=\"=/usr/\"" > "${T}"/50gambit && doenvd "${T}"/50gambit
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}