summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-06-01 21:14:00 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-06-02 15:37:45 +0200
commit35bc0bcef14fad17f9771c27c668064135d08561 (patch)
tree6f3b6d240d4518cd9b1c3d88ef8d14bc1e58d540 /dev-scheme
parentdev-ml/uunf: add dep on dev-ml/uchar (diff)
downloadgentoo-35bc0bcef14fad17f9771c27c668064135d08561.tar.gz
gentoo-35bc0bcef14fad17f9771c27c668064135d08561.tar.bz2
gentoo-35bc0bcef14fad17f9771c27c668064135d08561.zip
dev-scheme/chibi: bump to 0.11.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/chibi/Manifest1
-rw-r--r--dev-scheme/chibi/chibi-0.11.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest
index 7fb92c8af0ad..ac5d43470476 100644
--- a/dev-scheme/chibi/Manifest
+++ b/dev-scheme/chibi/Manifest
@@ -1 +1,2 @@
DIST chibi-0.10.0.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648
+DIST chibi-0.11.0.tar.gz 1228817 BLAKE2B aac54db3a323078323284e4d3e08f49637f4932d895801871a0d62e18b975bf7855c5db86985dfaf806696cd432160cae3dcde19fa63387c50842c73edf27b38 SHA512 00b56266398212a97603527ad1e4e56ac2a80ecdf0c13c5c41fe495a7af601bba3f00b7d36016284e76ab3d18e2c51bdb19a84523a158f50cec232ca950ac25d
diff --git a/dev-scheme/chibi/chibi-0.11.0.ebuild b/dev-scheme/chibi/chibi-0.11.0.ebuild
new file mode 100644
index 000000000000..40985662f005
--- /dev/null
+++ b/dev-scheme/chibi/chibi-0.11.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+REAL_PN="${PN}-scheme"
+REAL_PV="$(ver_cut 1-2)"
+REAL_P="${REAL_PN}-${REAL_PV}"
+
+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/${REAL_PN}.git"
+else
+ SRC_URI="https://github.com/ashinn/${REAL_PN}/archive/${REAL_PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${REAL_P}"
+
+ KEYWORDS="~amd64 ~x86"
+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" exists it is ran, overwrite it with "LDCONFIG" variable.
+ export LDCONFIG="0"
+}
+
+src_install() {
+ default
+
+ dosym "${REAL_PN}" "/usr/bin/${PN}"
+}