diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 00:57:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 00:57:34 +0000 |
commit | 6330245077f9f298a785e17756a8f59a843361a5 (patch) | |
tree | 5230e465e0b66c66bfec278f434599739f6a7417 /dev-scheme/stklos/stklos-1.70-r1.ebuild | |
parent | 0a610f61a00066203da0b0ed9ba215efbb480f4f (diff) |
gentoo auto-resync : 18:11:2022 - 00:57:34
Diffstat (limited to 'dev-scheme/stklos/stklos-1.70-r1.ebuild')
-rw-r--r-- | dev-scheme/stklos/stklos-1.70-r1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-scheme/stklos/stklos-1.70-r1.ebuild b/dev-scheme/stklos/stklos-1.70-r1.ebuild new file mode 100644 index 000000000000..af8d4da1cbde --- /dev/null +++ b/dev-scheme/stklos/stklos-1.70-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 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://www.stklos.net/" +SRC_URI="https://www.${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/libpcre" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog {HACKING,NEWS}.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS ) + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-configure-clang16.patch +) + +src_prepare() { + default + + use threads || rm -f tests/srfis/216.stk + + eautoreconf +} + +src_configure() { + export LD="$(tc-getCC)" + + econf \ + --enable-threads=$(usex threads pthreads none) \ + --without-gmp-light \ + --without-provided-ffi \ + --without-provided-gc \ + --without-provided-regexp +} + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +} |