summaryrefslogtreecommitdiff
path: root/dev-scheme/chibi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-scheme/chibi
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-scheme/chibi')
-rw-r--r--dev-scheme/chibi/Manifest4
-rw-r--r--dev-scheme/chibi/chibi-0.10.ebuild38
-rw-r--r--dev-scheme/chibi/chibi-9999.ebuild38
-rw-r--r--dev-scheme/chibi/metadata.xml30
4 files changed, 110 insertions, 0 deletions
diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest
new file mode 100644
index 000000000000..f067681951ba
--- /dev/null
+++ b/dev-scheme/chibi/Manifest
@@ -0,0 +1,4 @@
+DIST chibi-0.10.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648
+EBUILD chibi-0.10.ebuild 868 BLAKE2B 6101a3349563aaa2a20ac2343ad49ea7e1dbd27280cc22a1acfdf1944d36195d372d201f8b2107d498dacbe0f7df28be2d22b8412edfabe6afd2863255d0fcfc SHA512 9ca2b03ad437ac7dcae1b30640abcbce12e3a2b5012c8b8534c2a8e8ddc1c6ed887f3ae8e9e88a80e24be0d1c0ae576c13302c9ab7b215df9d2efb9dbb32bbd7
+EBUILD chibi-9999.ebuild 868 BLAKE2B 6101a3349563aaa2a20ac2343ad49ea7e1dbd27280cc22a1acfdf1944d36195d372d201f8b2107d498dacbe0f7df28be2d22b8412edfabe6afd2863255d0fcfc SHA512 9ca2b03ad437ac7dcae1b30640abcbce12e3a2b5012c8b8534c2a8e8ddc1c6ed887f3ae8e9e88a80e24be0d1c0ae576c13302c9ab7b215df9d2efb9dbb32bbd7
+MISC metadata.xml 1354 BLAKE2B f42d034ab15ba6df9f4cea3be5d6e5c66a61b55dbd6ada20cff02fbc79d2683e7eb5d8e95ce1b62b6cca54a521018e0abff7e15251dd5af8dfe1cd9ad1c56c3d SHA512 52c10ed2024fc27179e0a043cc00840ad81c9c5d31365ce27787691ca846a1a1ab065af4376655fff97a88638003c9ef4c1831a3b13a216f7f200b075a16fb09
diff --git a/dev-scheme/chibi/chibi-0.10.ebuild b/dev-scheme/chibi/chibi-0.10.ebuild
new file mode 100644
index 000000000000..189f61eb059f
--- /dev/null
+++ b/dev-scheme/chibi/chibi-0.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Minimal Scheme implementation for use as an extension language"
+HOMEPAGE="http://synthcode.com/scheme/chibi/"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git"
+else
+ SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-scheme-${PV}"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+src_configure() {
+ tc-export CC
+
+ export PREFIX="${EPREFIX}/usr"
+ export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)"
+
+ # if ldconfig (stored in LDCONFIG variable) exists it is ran
+ export LDCONFIG="0"
+}
+
+src_install() {
+ default
+
+ dosym chibi-scheme /usr/bin/chibi
+}
diff --git a/dev-scheme/chibi/chibi-9999.ebuild b/dev-scheme/chibi/chibi-9999.ebuild
new file mode 100644
index 000000000000..189f61eb059f
--- /dev/null
+++ b/dev-scheme/chibi/chibi-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Minimal Scheme implementation for use as an extension language"
+HOMEPAGE="http://synthcode.com/scheme/chibi/"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git"
+else
+ SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-scheme-${PV}"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+src_configure() {
+ tc-export CC
+
+ export PREFIX="${EPREFIX}/usr"
+ export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)"
+
+ # if ldconfig (stored in LDCONFIG variable) exists it is ran
+ export LDCONFIG="0"
+}
+
+src_install() {
+ default
+
+ dosym chibi-scheme /usr/bin/chibi
+}
diff --git a/dev-scheme/chibi/metadata.xml b/dev-scheme/chibi/metadata.xml
new file mode 100644
index 000000000000..6a31c51ea163
--- /dev/null
+++ b/dev-scheme/chibi/metadata.xml
@@ -0,0 +1,30 @@
+<?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>
+ <longdescription lang="en">
+ Chibi-Scheme is a very small library intended for use as an extension
+ and scripting language in C programs. In addition to support for
+ lightweight VM-based threads, each VM itself runs in an isolated heap
+ allowing multiple VMs to run simultaneously in different OS threads.
+ Despite the small size, Chibi-Scheme attempts to do The Right Thing.
+ The default settings include:
+ - a full numeric tower, with rational and complex numbers
+ - full and seamless Unicode support
+ - low-level and high-level hygienic macros
+ - an extensible module system
+ Specifically, the default repl language contains all bindings from R7RS
+ small, available explicitly as the (scheme small) library. The language
+ is built in layers, however - see the manual for instructions on
+ compiling with fewer features or requesting a smaller language
+ on startup.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/ashinn/chibi-scheme/issues</bugs-to>
+ <remote-id type="github">ashinn/chibi-scheme</remote-id>
+ </upstream>
+</pkgmetadata>