diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
commit | 3cc82055be7dba177f4aea15af9f5414b532da7e (patch) | |
tree | 1eed8bbe7a93b3a0a7d6091ead40e81519978a38 /dev-scheme | |
parent | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (diff) |
gentoo auto-resync : 04:11:2024 - 03:03:54
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/Manifest.gz | bin | 9819 -> 9819 bytes | |||
-rw-r--r-- | dev-scheme/stklos/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/stklos/files/stklos-2.10-gentoo.patch | 70 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-2.10.ebuild | 56 |
4 files changed, 129 insertions, 0 deletions
diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz Binary files differindex 1628f8629770..c85e1c88bdad 100644 --- a/dev-scheme/Manifest.gz +++ b/dev-scheme/Manifest.gz diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest index 5b286e023b9d..4e9938f5b6ee 100644 --- a/dev-scheme/stklos/Manifest +++ b/dev-scheme/stklos/Manifest @@ -1,6 +1,9 @@ AUX stklos-2.00-gentoo.patch 4196 BLAKE2B d75ea23e414b525497dff5d819e04b76ad724ea80866bc5e9c88543540c794fd85cf49d54a8452ecfc06f662eea338e90fe9ea761b71dc7f3ee8c093494c9667 SHA512 5febf74c446ec5bed0d6380ad8f9d8a9e6cc01ff26bcaa7908e6bfd9d24730cb53a14f30d6f8413e306f2793457938bb76e8218496296f2ccf1e53f00a319592 AUX stklos-2.00-ldflags.patch 377 BLAKE2B 0686dac938c87f92abffb56ebf94ade15e6f8f3d37a252cae77c377bf78083010010320a00a86884347a33526bee418a2e009464418fc32176211cff2d7bd1bd SHA512 086743b22c351fedc0021ab18d0fc4a699a9c098a6541ec3d85b81d579738d35928d3c244f71a5ce38e03476e04f4d077daa0ef655a47d0c4bac632c34e2ff2c AUX stklos-2.00-threads.patch 428 BLAKE2B 02659b90916259514642890d6bb887c52ab6bf74a9902a7eb4e142bc19c95606b8670c3634e1bbff3173db25bdf7f4e260f53eac8bec27155ff9fbd71b3d6b40 SHA512 9585001643c708b3834ee2c7935c6bd04423981d64c66b961387dfca449b61aadd81b5639e2e384b5545e83048604c3ef6bdd239ac73534d8f0e7d335ecc1155 +AUX stklos-2.10-gentoo.patch 1928 BLAKE2B 75918928b2979c7f9f344f2f0cf08e207b5ebdc94acac2e3f3d8f84dc99d39b9056ebe7d6bfa50dd1014caca196beebb6c0694cc9ce7f060e6a2b70d01ba321f SHA512 31c0e70cb279c4910b265003aae206f75f3688a799904589fc5f3ea20c9966abfa41ea5b53b42879905ee6618a009c0f422e6fe437f6e7c18eb98248a8b0489f DIST stklos-2.00.tar.gz 9661074 BLAKE2B c43918f182e8502d5ea4dd0a2d42ea4e788a573ca1184d4e3af792f3932b7a626280110c30bffa9771d73ed7fdc2a29db19bcd7ce8d5a219c1c0b9ef19195c6d SHA512 b98ad62713cb5e85d26378e73e2198d44676a0103c8e8444490cc555defc5b058652c514bdf3a27b0cc34c71b0b72d9f5fc440f260f6aa68064c5adda6571d5f +DIST stklos-2.10.tar.gz 10280638 BLAKE2B d08b3ca4422e497a4adba1d810c97af6cfa262443214127eb0c82bedb21885bc1dcea5cf8f13387a1bfaf9182a9590d9557368ee2840d5c11d4b15f5e0ffe427 SHA512 41981794bd2a8a600a03b543e87c02d1072c8dd3449704d6bb55586cc45e50c4654d8dd3f2b9ac1efc89cee41da8d3667b895d641ff1817a8d14944b1dcd66cd EBUILD stklos-2.00-r1.ebuild 1178 BLAKE2B aa8921a201f00fbfa4ca7d6450ce64f7e78d474af39a9708f92d66f751a2f9195dc2d3bbd8edd26da3ada0dd61bfbc7a7c5c64e40643cd92d51b7e92be363ae7 SHA512 c5b5df9f9298fb22f08bab8b6a2c399b55cb6865b3785e9d460b9481ed55f2badcd45e19775edc83aeabe4dd100692f99ab19087ed5b1ad87e64d8a963710aa5 +EBUILD stklos-2.10.ebuild 1106 BLAKE2B aa050ce7793aef6b0741c30bbcc910b15932ccb63777cd934dccf62c0403454643cd073b1c9cef59fd18509acd22910286ecdede18561afbb6925ffc01893eff SHA512 7da3d05cc7a7d2087ae5d8449c2b096964634bc427f64e5256a8e54054fe56d275d63708ebd7e17e8b1d5873c0167c215d58818f42c9cd6daa44120bffbc60ab MISC metadata.xml 739 BLAKE2B df32d98cff79f6d4e998c695eae85344c5b8d83c94fd8a6de47b5b11a2f874585ccdb3a05d7e29aa46f31799f3e3fd6ccf6f6674b7791c9710e89112a9075bdb SHA512 c6cd89f69ca1ed11a87164618dad3a5a566b6b930fb28fe37e8e6f16a8b76a53569c18d7569038bb47f7cbc175c42261d863afa1f1fb96286bf08cd70b5b12de diff --git a/dev-scheme/stklos/files/stklos-2.10-gentoo.patch b/dev-scheme/stklos/files/stklos-2.10-gentoo.patch new file mode 100644 index 000000000000..f45a44ae4347 --- /dev/null +++ b/dev-scheme/stklos/files/stklos-2.10-gentoo.patch @@ -0,0 +1,70 @@ +--- a/lib/Lalr.d/Makefile.am ++++ b/lib/Lalr.d/Makefile.am +@@ -33,7 +33,7 @@ + all: lalr.ostk calc + + install-sources: install +- mkdir -p $(schemedir) ++ mkdir -p $(DESTDIR)$(schemedir) + cp lalr.stk $(DESTDIR)$(schemedir) + + uninstall-hook: +--- a/lib/scheme/Makefile.am ++++ b/lib/scheme/Makefile.am +@@ -208,7 +208,7 @@ + @for i in $(SUBDIRS) ;do \ + (cd $$i && $(MAKE) install-sources)\ + done +- cp $(scheme_sources) $(schemedir) ++ cp $(scheme_sources) $(DESTDIR)$(schemedir) + + install-data-hook: + (cd regex && $(MAKE) install) +--- a/lib/scheme/vector/Makefile.am ++++ b/lib/scheme/vector/Makefile.am +@@ -130,8 +130,8 @@ + #====================================================================== + + install-sources: +- mkdir -p $(srfidir) +- cp $(srfi_sources) $(srfi_interm) $(srfidir) ++ mkdir -p $(DESTDIR)$(srfidir) ++ cp $(srfi_sources) $(srfi_interm) $(DESTDIR)$(srfidir) + + # we also clean the TAG.stk files -- $(srfi-interm) --, which are NOT + # srfi_OBJS (should not be installed with other objects): +--- a/lib/stklos/Makefile.am ++++ b/lib/stklos/Makefile.am +@@ -77,7 +77,7 @@ + + # ====================================================================== + install-sources: +- cp $(scheme_sources) $(schemedir) ++ cp $(scheme_sources) $(DESTDIR)$(schemedir) + + clean: + rm -f $(ALL_OBJS) *-incl.c *~ +--- a/lib/streams/Makefile.am ++++ b/lib/streams/Makefile.am +@@ -75,7 +75,7 @@ + + # ====================================================================== + install-sources: +- install $(scheme_sources) $(schemedir) ++ install $(scheme_sources) $(DESTDIR)$(schemedir) + + clean: + rm -f $(ALL_OBJS) *-incl.c *~ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -108,8 +108,8 @@ + + + install-exec-hook: +- mv $(bindir)/stklos $(bindir)/stklos-@VERSION@ +- ln -s stklos-@VERSION@ $(bindir)/stklos ++ mv $(DESTDIR)$(bindir)/stklos $(DESTDIR)$(bindir)/stklos-@VERSION@ ++ ln -s stklos-@VERSION@ $(DESTDIR)$(bindir)/stklos + + + doc: $(DOCDB) diff --git a/dev-scheme/stklos/stklos-2.10.ebuild b/dev-scheme/stklos/stklos-2.10.ebuild new file mode 100644 index 000000000000..17f5eaa272a9 --- /dev/null +++ b/dev-scheme/stklos/stklos-2.10.ebuild @@ -0,0 +1,56 @@ +# 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 ) +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 +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +} |