diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 14:06:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 14:06:19 +0000 |
commit | fc6e577018dec28e18904f9ad5c1417976e3c728 (patch) | |
tree | d1bffe78e4c3db88c10e85e3efd2f7e2c0e5a156 /dev-scheme/stklos | |
parent | e74bddc195533f6d160ee96220f5cfcc205bda1c (diff) |
gentoo auto-resync : 17:01:2024 - 14:06:19
Diffstat (limited to 'dev-scheme/stklos')
-rw-r--r-- | dev-scheme/stklos/Manifest | 2 | ||||
-rw-r--r-- | dev-scheme/stklos/files/stklos-2.00-ldflags.patch | 15 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-2.00-r1.ebuild | 61 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest index a62d7647226b..284ce02bb130 100644 --- a/dev-scheme/stklos/Manifest +++ b/dev-scheme/stklos/Manifest @@ -1,4 +1,6 @@ AUX stklos-2.00-gentoo.patch 4196 BLAKE2B d75ea23e414b525497dff5d819e04b76ad724ea80866bc5e9c88543540c794fd85cf49d54a8452ecfc06f662eea338e90fe9ea761b71dc7f3ee8c093494c9667 SHA512 5febf74c446ec5bed0d6380ad8f9d8a9e6cc01ff26bcaa7908e6bfd9d24730cb53a14f30d6f8413e306f2793457938bb76e8218496296f2ccf1e53f00a319592 +AUX stklos-2.00-ldflags.patch 377 BLAKE2B 0686dac938c87f92abffb56ebf94ade15e6f8f3d37a252cae77c377bf78083010010320a00a86884347a33526bee418a2e009464418fc32176211cff2d7bd1bd SHA512 086743b22c351fedc0021ab18d0fc4a699a9c098a6541ec3d85b81d579738d35928d3c244f71a5ce38e03476e04f4d077daa0ef655a47d0c4bac632c34e2ff2c DIST stklos-2.00.tar.gz 9661074 BLAKE2B c43918f182e8502d5ea4dd0a2d42ea4e788a573ca1184d4e3af792f3932b7a626280110c30bffa9771d73ed7fdc2a29db19bcd7ce8d5a219c1c0b9ef19195c6d SHA512 b98ad62713cb5e85d26378e73e2198d44676a0103c8e8444490cc555defc5b058652c514bdf3a27b0cc34c71b0b72d9f5fc440f260f6aa68064c5adda6571d5f +EBUILD stklos-2.00-r1.ebuild 1146 BLAKE2B eda0294247f432bdf104b0c721c10f1bc3844e58f9117e2abbc7a5c8a310204b9f2517bdd088c86f3b4e33052e55662e39a97a9cc9d90147dfa88ac06f073a08 SHA512 9b0fa9c7506d1a8748feb3e84f89931dc61016068c529ce1d4227667e1c93293ab34666b4edec678fadffbe5f14e2b952fae0de2ae6cd5c41f18c4b2937cbc21 EBUILD stklos-2.00.ebuild 1109 BLAKE2B 66432691de3beff4f5acf4298666930633e48321925e9c424bc50b85cea02d430f1cb8d4fa1d605dfcbca5023753ad2a4697a852bae81b5f05fa2784df37d763 SHA512 dbbde3b62d5858d61e84e0bf59a8f9d44a1ddc1b507ab1ee18d0e373750991803def103bc35ec9cfd72dae95999a4949d0a57976bcaea67d54a5166eeddda8a6 MISC metadata.xml 739 BLAKE2B df32d98cff79f6d4e998c695eae85344c5b8d83c94fd8a6de47b5b11a2f874585ccdb3a05d7e29aa46f31799f3e3fd6ccf6f6674b7791c9710e89112a9075bdb SHA512 c6cd89f69ca1ed11a87164618dad3a5a566b6b930fb28fe37e8e6f16a8b76a53569c18d7569038bb47f7cbc175c42261d863afa1f1fb96286bf08cd70b5b12de diff --git a/dev-scheme/stklos/files/stklos-2.00-ldflags.patch b/dev-scheme/stklos/files/stklos-2.00-ldflags.patch new file mode 100644 index 000000000000..9e695718e6b0 --- /dev/null +++ b/dev-scheme/stklos/files/stklos-2.00-ldflags.patch @@ -0,0 +1,15 @@ +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -195,12 +195,6 @@ + lib/streams: lib + lib/srfi: lib/scheme lib/stklos lib/streams + +-readline-complete.@SH_SUFFIX@: readline-complete.c +- @CC@ @CFLAGS@ @STKCFLAGS@ @SH_COMP_FLAGS@ -I../src @GCINC@ \ +- -c -o $*.o $*.c +- @SH_LOADER@ @SH_LOAD_FLAGS@ -o $*.@SH_SUFFIX@ $*.o @DLLIBS@ @RDLINE@ +- /bin/rm -f $*.o +- + # + # SRFIs support + # diff --git a/dev-scheme/stklos/stklos-2.00-r1.ebuild b/dev-scheme/stklos/stklos-2.00-r1.ebuild new file mode 100644 index 000000000000..99bdac6e81f2 --- /dev/null +++ b/dev-scheme/stklos/stklos-2.00-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 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}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-ldflags.patch +) +DOCS=( AUTHORS ChangeLog NEWS.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS ) + +src_prepare() { + default + + if ! use threads; then + sed -i '/threads.adoc/d' doc/refman/${PN}.adoc + rm -f tests/srfis/2{16,30}.stk + fi + eautoreconf + export LD="$(tc-getCC)" + export STKLOS_CONFDIR="${T}"/.config/${PN} +} + +src_configure() { + econf \ + --enable-threads=$(usex threads pthreads none) \ + --without-provided-bignum \ + --without-provided-ffi \ + --without-provided-gc \ + --without-provided-regexp +} + +src_compile() { + emake +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +} |