diff options
author | Maciej Barć <xgqt@gentoo.org> | 2021-11-25 19:35:49 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2021-11-25 19:36:18 +0100 |
commit | c525469ffbb201d9d569ff5a17cef79fd247006d (patch) | |
tree | 9a38295e1e97a2ce98f25368641bfc1561565463 /dev-scheme | |
parent | net-dialup/pppconfig: add 2.3.25 (diff) | |
download | gentoo-c525469ffbb201d9d569ff5a17cef79fd247006d.tar.gz gentoo-c525469ffbb201d9d569ff5a17cef79fd247006d.tar.bz2 gentoo-c525469ffbb201d9d569ff5a17cef79fd247006d.zip |
dev-scheme/chibi: new package; add version 0.10 and live
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chibi/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/chibi/chibi-0.10.ebuild | 38 | ||||
-rw-r--r-- | dev-scheme/chibi/chibi-9999.ebuild | 38 | ||||
-rw-r--r-- | dev-scheme/chibi/metadata.xml | 30 |
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest new file mode 100644 index 000000000000..02dc27673a16 --- /dev/null +++ b/dev-scheme/chibi/Manifest @@ -0,0 +1 @@ +DIST chibi-0.10.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648 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> |