diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-07-13 11:12:07 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-07-13 11:12:07 +0200 |
commit | 28e287ddefdb06bce9c839b81bb5a6a4daf62962 (patch) | |
tree | bdf86ea76aae8fcd1d48acd148ed4b21382189bd /dev-scheme | |
parent | mail-mta/netqmail: cleanup (diff) | |
download | gentoo-28e287ddefdb06bce9c839b81bb5a6a4daf62962.tar.gz gentoo-28e287ddefdb06bce9c839b81bb5a6a4daf62962.tar.bz2 gentoo-28e287ddefdb06bce9c839b81bb5a6a4daf62962.zip |
dev-scheme/gambit: add 4.9.3
Fixes: https://bugs.gentoo.org/674060
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/gambit/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.9.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest index 3a80c494a1f4..20bafc01c9ae 100644 --- a/dev-scheme/gambit/Manifest +++ b/dev-scheme/gambit/Manifest @@ -1 +1,2 @@ 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.3.ebuild b/dev-scheme/gambit/gambit-4.9.3.ebuild new file mode 100644 index 000000000000..d31d3757ed4c --- /dev/null +++ b/dev-scheme/gambit/gambit-4.9.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND=" + ${RDEPEND} +" +BDEPEND="emacs? ( virtual/emacs )" + +SITEFILE="50gambit-gentoo.el" + +S="${WORKDIR}/${MY_P}" #-devel + +IUSE="emacs libressl ssl static" + +src_configure() { + econf $(use_enable !static shared) \ + $(use_enable ssl openssl) \ + --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 +} |