From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DB951396D0 for ; Sat, 12 Aug 2017 10:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 654B11FC002; Sat, 12 Aug 2017 10:04:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E8DD1FC002 for ; Sat, 12 Aug 2017 10:04:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4087F341911 for ; Sat, 12 Aug 2017 10:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A41537671 for ; Sat, 12 Aug 2017 10:04:28 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1502532250.399fc1750c4506fdef9f6f4a3157232c64b0aa75.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gambit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/gambit/gambit-4.8.8-r1.ebuild X-VCS-Directories: dev-scheme/gambit/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 399fc1750c4506fdef9f6f4a3157232c64b0aa75 X-VCS-Branch: master Date: Sat, 12 Aug 2017 10:04:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 29c39b48-2501-4066-a9a5-c79c4f5abe94 X-Archives-Hash: 3552e1fbedf65b861c18fd25d83c2453 commit: 399fc1750c4506fdef9f6f4a3157232c64b0aa75 Author: Amy Liffey gentoo org> AuthorDate: Sat Aug 12 09:56:35 2017 +0000 Commit: Amy Liffey gentoo org> CommitDate: Sat Aug 12 10:04:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399fc175 dev-scheme/gambit: enable tls support bug #620770 Submitted-by: Guillaume LE VAILLANT posteo.net> Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-scheme/gambit/gambit-4.8.8-r1.ebuild | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/dev-scheme/gambit/gambit-4.8.8-r1.ebuild b/dev-scheme/gambit/gambit-4.8.8-r1.ebuild new file mode 100644 index 00000000000..f2e841b8b94 --- /dev/null +++ b/dev-scheme/gambit/gambit-4.8.8-r1.ebuild @@ -0,0 +1,61 @@ +# 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" + +RDEPEND="ssl? ( dev-libs/openssl:0 )" +DEPEND=" + ${RDEPEND} + emacs? ( virtual/emacs ) +" + +SITEFILE="50gambit-gentoo.el" + +S="${WORKDIR}/${MY_P}" #-devel + +IUSE="emacs 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 +}