summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-01-28 21:18:13 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-01-28 21:41:44 +0100
commite875ec88e21d00aeef3d4f868aef60d10657636b (patch)
tree0a5dbd9980199b566240c79e350fe9d57882bcf5 /dev-scheme/gambit
parentjava-virtuals/servlet-api: Stabilize 2.4-r1 ppc64, #832194 (diff)
downloadgentoo-e875ec88e21d00aeef3d4f868aef60d10657636b.tar.gz
gentoo-e875ec88e21d00aeef3d4f868aef60d10657636b.tar.bz2
gentoo-e875ec88e21d00aeef3d4f868aef60d10657636b.zip
dev-scheme/gambit: bump to 4.9.4
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r--dev-scheme/gambit/Manifest1
-rw-r--r--dev-scheme/gambit/gambit-4.9.4.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 20bafc01c9ae..959d464442a5 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -1,2 +1,3 @@
+DIST gambit-4.9.4.tar.gz 15453486 BLAKE2B 59761f98fe380604b7b5d8be162769506536aaffb35e97c24a755b3cd62e2e72e830468add0ca098e87fba3d1716363b9125b0141dea4eee5608fa55abcbe2cf SHA512 f2963e5e33ad5cc773924cd1ac01bdf6ad68ba6514419583c4a94c0c878ae223c06c9a90b9058cec9c2237f905b6e3cd879360b04415473199a1a515ae4194ee
DIST gambit-v4_8_8.tgz 13272335 BLAKE2B d15bf944c8da3050c1fee6854044d904712075f070d75797c463a5510590514a06a4f05a81697d4bcd814adc5c00693f27b09834624909356049c02bbad02419 SHA512 99367cf5726d0d3aa59e39f1ef8b69347d92b7f3055e0656d66cbadb69ed4d8e499825395eddd41a4409b9cc57c2d2242ac5b8c29c37b84950b57468b5d92909
DIST gambit-v4_9_3.tgz 13736448 BLAKE2B 664e90e3cc2419aa07264ac84abf0aacce43fd2339a72dc502745961a56097b6c161a89d12faa4b88a95841b8d45e37c199438d3fa8b9914db431406cc2d0e4b SHA512 0ee8eb5a2a0b63c0250f4d8d5bcf71d7c57b7444bf1a4c31c084fc9aef6f7932bf607a0a0b835987e7ada3a995cf732cc46593eb4b9dd79fc918358c57c4285f
diff --git a/dev-scheme/gambit/gambit-4.9.4.ebuild b/dev-scheme/gambit/gambit-4.9.4.ebuild
new file mode 100644
index 000000000000..2aca0c767e16
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.9.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp-common
+
+DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter"
+HOMEPAGE="http://www.iro.umontreal.ca/~gambit/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-tags-v${PV}"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="emacs ssl static"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-text/ghostscript-gpl
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
+
+DOCS=( INSTALL.txt README README.md )
+SITEFILE="50gambit-gentoo.el"
+
+src_configure() {
+ local myconf=(
+ $(use_enable !static shared)
+ $(use_enable ssl openssl)
+ --enable-gnu-gcc-specific-options
+ --enable-gnu-gcc-no-strict-aliasing
+ --enable-single-host
+ --disable-absolute-shared-libs
+ --enable-type-checking
+ )
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ emake bootstrap
+
+ if use emacs; then
+ elisp-compile misc/*.el || die
+ fi
+}
+
+src_test() {
+ cd tests || die
+ emake test{1..10}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install -j1
+ dodoc doc/gambit.{pdf,ps,txt}
+ einstalldocs
+
+ keepdir /usr/share/${PN}
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}