summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-03-21 09:16:23 +0100
committerAmy Liffey <amynka@gentoo.org>2017-03-21 09:35:11 +0100
commitbd6727aa850ed00d5c16c448a7a50114b55b86b1 (patch)
treea7d04bed8f7a83faa39e440ff8fc601e37e3be56 /dev-scheme/gambit
parentdev-perl/Text-Template: Bump to version 1.470.0 (diff)
downloadgentoo-bd6727aa850ed00d5c16c448a7a50114b55b86b1.tar.gz
gentoo-bd6727aa850ed00d5c16c448a7a50114b55b86b1.tar.bz2
gentoo-bd6727aa850ed00d5c16c448a7a50114b55b86b1.zip
dev-scheme/gambit: version bump 4.8.8 bug #612088
Submitted-by: Bill Six <billsix@gmail.com> Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r--dev-scheme/gambit/Manifest1
-rw-r--r--dev-scheme/gambit/gambit-4.8.8.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 9532c818602e..d97b3d110c87 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -5,3 +5,4 @@ DIST gambc-v4_6_5.tgz 10699787 SHA256 54de513a78f0fb1841ef1411b8f2d64a2bd6810cee
DIST gambc-v4_6_7.tgz 11080117 SHA256 8a27d78586f73eff2798dcef0b634559433042adc4124c0d878cfbbf4db4e336 SHA512 4784c07d10795715ef940ebe361ce2f18aae4415a530c86d41c8f23b56be54cb23e4f7f6307044120541aeccca371b8897ee3f1105ab02e34b8273e0c95511ac WHIRLPOOL 6ff8b7d65240c1bbb3a7a0d1b1b3e7ec10a09eb0291d47ae523409cd2f986e36148ce87897e60c6c302990ac0dd33ea1be0ffff2ca203e995a2d1b33f463fe59
DIST gambc-v4_6_9.tgz 11073013 SHA256 5190f477eb91c60017b4ccff2fe72e6874431591a808ee3c4c1754aeef4324e9 SHA512 9bf9be9c65bdff3579e78df94284deda09d8cd1db7ed23f78b3acd4f5d5d5867208758ed57add1820906a21ed2d7880361c594afc28bce494057c7e090892d16 WHIRLPOOL d594dfff7355966d847d1720b5f1a5d57354da77c4c498542feebaf1c721bae5e8a85e56378ebc5068667bf2c541741f5e439ece97a2f943b5f5615f6d7319cd
DIST gambc-v4_7_0.tgz 11074266 SHA256 2b03ecef89da2a53212dc3e6583ee4175d91a0752779e1758bcab5d09e9d1e63 SHA512 566d7131507fb493acd039d2fbeb40a6a2263372d05f6ed809b7ce8b28fa432b7c3e0054ee1f0c280ff43a0516596776ffa7914b6bbe40f1c66c5f5b909754ff WHIRLPOOL 836e93b6ba4e1d97d8155f390a995e79c6d34396f4694ecc70b6e463dab3d7aa3491e97789aa02d8b5edc26303bd7f3abec0f1aca8ac327ddbe9366deb68dbed
+DIST gambit-v4_8_8.tgz 13272335 SHA256 73beaa5526e998a7bf46208e6b5d5f307cd66c1a3f61e30913ef56925a0c9cde SHA512 99367cf5726d0d3aa59e39f1ef8b69347d92b7f3055e0656d66cbadb69ed4d8e499825395eddd41a4409b9cc57c2d2242ac5b8c29c37b84950b57468b5d92909 WHIRLPOOL 5b430caf1199099481b7cbf5404057233d82dc34639d989301e5efe88c6796bb91b35cf50930ed608d9e0df1ab472ff9b3c7cd5c6fd1b7eb07f48e8a4cd24d55
diff --git a/dev-scheme/gambit/gambit-4.8.8.ebuild b/dev-scheme/gambit/gambit-4.8.8.ebuild
new file mode 100644
index 000000000000..999cda7fb2eb
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.8.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils elisp-common
+
+MY_PV="${PV//./_}"
+MY_P="${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-labs.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 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND=""
+
+SITEFILE="50gambit-gentoo.el"
+
+S="${WORKDIR}/${MY_P}" #-devel
+
+IUSE="emacs static"
+
+src_configure() {
+ econf $(use_enable !static shared) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --enable-gnu-gcc-specific-options \
+ --enable-gnu-gcc-no-strict-aliasing \
+ --enable-single-host \
+ --disable-absolute-shared-libs \
+ --enable-type-checking
+}
+
+src_compile() {
+ emake bootstrap
+
+ if use emacs; then
+ elisp-compile misc/*.el || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ keepdir /usr/share/"${MY_PN}"
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}