1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils elisp-common
11 DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter"
12 HOMEPAGE="http://www.iro.umontreal.ca/~gambit/"
13 SRC_URI="http://www-labs.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz"
15 LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
17 KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
20 !libressl? ( dev-libs/openssl:0= )
21 libressl? ( dev-libs/libressl:0= )
26 BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
28 SITEFILE="50gambit-gentoo.el"
30 S="${WORKDIR}/${MY_P}" #-devel
32 IUSE="emacs libressl ssl static"
36 $(use_enable !static shared) \
37 $(use_enable ssl openssl) \
38 --enable-gnu-gcc-specific-options \
39 --enable-gnu-gcc-no-strict-aliasing \
40 --enable-single-host \
41 --disable-absolute-shared-libs \
42 --enable-type-checking
49 elisp-compile misc/*.el || die
54 emake DESTDIR="${D}" install
55 keepdir /usr/share/"${MY_PN}"
59 use emacs && elisp-site-regen
63 use emacs && elisp-site-regen