dev-scheme/stklos: new upstream release

Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori
2026-03-07 21:40:24 +09:00
parent 2c65a78973
commit 95587053b9
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST stklos-2.10.tar.gz 10280638 BLAKE2B d08b3ca4422e497a4adba1d810c97af6cfa262443214127eb0c82bedb21885bc1dcea5cf8f13387a1bfaf9182a9590d9557368ee2840d5c11d4b15f5e0ffe427 SHA512 41981794bd2a8a600a03b543e87c02d1072c8dd3449704d6bb55586cc45e50c4654d8dd3f2b9ac1efc89cee41da8d3667b895d641ff1817a8d14944b1dcd66cd
DIST stklos-26.0.tar.gz 11437196 BLAKE2B cbf4e78add5d5d9189f9e0dbba58032b072e67cf3c25c584d1ed003f235d28f067d9747fa4159f2380969c3f30dafea40ee2e11e922a0a75c6d730b687a4912b SHA512 b29039eeec9410e9e3a7d0f0fc547ce0a6609c9fccf129e96cd790f9a4cc7768d58d8326d3e9eac0e0b269e9a98d48b3627b9c66e3ea8d43ff1586ff6cbb8527

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit autotools toolchain-funcs
DESCRIPTION="Fast and light Scheme implementation"
HOMEPAGE="https://stklos.net/"
SRC_URI="https://${PN}.net/download/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="threads"
RDEPEND="dev-libs/boehm-gc[threads?]
dev-libs/gmp:=
dev-libs/libffi:=
dev-libs/libpcre2:="
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch )
DOCS=( AUTHORS ChangeLog NEWS.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS )
src_prepare() {
default
eautoreconf
export LD="$(tc-getCC)"
export STKLOS_CONFDIR="${T}"/.config/${PN}
}
src_configure() {
econf \
--datadir="${EPREFIX}"/usr/share/${PN}/${PV} \
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}/${PV} \
--enable-threads=$(usex threads pthreads none) \
--without-provided-bignum \
--without-provided-ffi \
--without-provided-gc \
--without-provided-regexp
}
src_compile() {
emake -j1
}
src_test() {
emake -j1 check
}
src_install() {
default
einstalldocs
}