summaryrefslogtreecommitdiff
path: root/dev-scheme/gambit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r--dev-scheme/gambit/Manifest7
-rw-r--r--dev-scheme/gambit/files/50gambit-gentoo.el10
-rw-r--r--dev-scheme/gambit/gambit-4.8.8-r1.ebuild61
-rw-r--r--dev-scheme/gambit/gambit-4.8.8.ebuild57
-rw-r--r--dev-scheme/gambit/metadata.xml8
5 files changed, 143 insertions, 0 deletions
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
new file mode 100644
index 000000000000..a234293aa626
--- /dev/null
+++ b/dev-scheme/gambit/Manifest
@@ -0,0 +1,7 @@
+AUX 50gambit-gentoo.el 386 SHA256 70feee41315a0c588b13eda7e85b6c3546f933ac500e4e25dbe4b9cd186ca88b SHA512 acf956bd70c176b4cccbdab2dd1611ef5a30b7899d51b32341509168fdac52312f0f543c5c519ed005049a2e40d9dcfc67284adaebedd9a781fe12a3ea974e97 WHIRLPOOL 755face5f94ae1970ad518bc4f8f79d5423614ac6dfc9a25d1676ec7454ab077032c9980032620de954a068ad814b932f93f60f33e29d971bb2968353c1029d0
+DIST gambit-v4_8_8.tgz 13272335 SHA256 73beaa5526e998a7bf46208e6b5d5f307cd66c1a3f61e30913ef56925a0c9cde SHA512 99367cf5726d0d3aa59e39f1ef8b69347d92b7f3055e0656d66cbadb69ed4d8e499825395eddd41a4409b9cc57c2d2242ac5b8c29c37b84950b57468b5d92909 WHIRLPOOL 5b430caf1199099481b7cbf5404057233d82dc34639d989301e5efe88c6796bb91b35cf50930ed608d9e0df1ab472ff9b3c7cd5c6fd1b7eb07f48e8a4cd24d55
+EBUILD gambit-4.8.8-r1.ebuild 1264 SHA256 1ae793200a85042b6173042c4474a726c6a161304b61575ed7211f8626bee18b SHA512 12506833dda8f2163e89e75a6d228333183b80ce8ab134d3303ad10393d62c7450dae22637f4d347492c9b393535ababe39ad1a89f4b320a801242c835696fc6 WHIRLPOOL 9a0f65fb4f429fefe0f128096451d08cbc2266a433dfcf7256af1bbaef957c3e191051cff8161cdd6ff0e92d01ae21e4af5824ea1ad7b649d683f6cdc3b2edce
+EBUILD gambit-4.8.8.ebuild 1188 SHA256 df97f545097b476645d187bffcc6effd43cca2cfc090badda2f8cc05360fb566 SHA512 b0f01ac4dc050fbfbe0943369039efbc483e570123c58ce3ebcdddd250dd73889f6283edc7cfaee74c294ec634ac8fa736356e41bf7cebb8aaf4af9035255115 WHIRLPOOL d58f5f5f9af2291ed21d020007d48c8e2ff2811e48caec84be12c0ee80ef1bd31687c450542e9f764dee09595bbca8c2f58d43f7d501188990340f5f71a30221
+MISC ChangeLog 2969 SHA256 7901ef3ce7fcb1d56e160ade8664724ee47c38c55251b2b81a05c4f139a8468d SHA512 e0ee76df3f682279a0bb44d0eb95d6c8d510a699c95653ec439fa9bb800db7ab752fcf9ef2880e541bd20dfff4fe5f5c6439bbcea8015af83098b158eec32583 WHIRLPOOL f6b042200b320f3926ed00c2f9f74323e385a9f8ed8e0e5f1ff0db890ec7f6eaa26557f93b9240999d07e96269ccda36713fd427f23826531f9108c33a1e1c01
+MISC ChangeLog-2015 7023 SHA256 7c0ae463e19d88985389a3e337e1a921c33cf6898779ccc67067c67ec66d9061 SHA512 30fe1652866f3e04aa6630c81f3c7d1be986a9002abb8c94594347298c89f5c3ae9592352b99c3b3a7466adc1a7b677634a25bc70e3742cb2b4d4337bf676f24 WHIRLPOOL 709a915f4f3037faaed1410864a790b9e2bad2d0d2944a9e34fe47c27afcc550333cb0b22111df523f005eb0d3611a29f3a5c5a794e26fb6dfef05e5cba56b2b
+MISC metadata.xml 251 SHA256 52d3b594d034e106a0c8cae1b07de3f3681c18d21824174b4e6345d7b57b1a73 SHA512 4fda90c4191ba8ea396da2c4a434893d4b9df976a918e4fb5651acaf92c6efc9103b738681a3d29abe801a4ad09eecf5a4b0bd799dab5b5f1e42a34c3b27d918 WHIRLPOOL 099a971fbe7cb62be17ec8078ebcbc635b1d155c914fc271b6c7ac4f15c3367c876934c0df91028d948e76ba76257ef41e86b467abc2387006e5cebd186de376
diff --git a/dev-scheme/gambit/files/50gambit-gentoo.el b/dev-scheme/gambit/files/50gambit-gentoo.el
new file mode 100644
index 000000000000..2e8e196ba04d
--- /dev/null
+++ b/dev-scheme/gambit/files/50gambit-gentoo.el
@@ -0,0 +1,10 @@
+
+;;; gambit site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'gambit-inferior-mode "gambit" "Hook Gambit mode into cmuscheme.")
+(autoload 'gambit-mode "gambit" "Hook Gambit mode into scheme.")
+
+;; (add-hook 'inferior-scheme-mode-hook (function gambit-inferior-mode))
+;; (add-hook 'scheme-mode-hook (function gambit-mode))
+;; (setq scheme-program-name "gsi -:t")
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 000000000000..f2e841b8b94d
--- /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
+}
diff --git a/dev-scheme/gambit/gambit-4.8.8.ebuild b/dev-scheme/gambit/gambit-4.8.8.ebuild
new file mode 100644
index 000000000000..999cda7fb2eb
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.8.8.ebuild
@@ -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
+}
diff --git a/dev-scheme/gambit/metadata.xml b/dev-scheme/gambit/metadata.xml
new file mode 100644
index 000000000000..8703fdc61595
--- /dev/null
+++ b/dev-scheme/gambit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+</maintainer>
+</pkgmetadata>