Skip to content

Commit

Permalink
dev-scheme/gambit: version bump 4.8.8 bug #612088
Browse files Browse the repository at this point in the history
Submitted-by: Bill Six <[email protected]>

Package-Manager: portage-2.3.0
  • Loading branch information
Amynka committed Mar 21, 2017
1 parent ea162ea commit bd6727a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-scheme/gambit/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -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
57 changes: 57 additions & 0 deletions dev-scheme/gambit/gambit-4.8.8.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit bd6727a

Please sign in to comment.