diff options
Diffstat (limited to 'dev-lisp/ecl')
-rw-r--r-- | dev-lisp/ecl/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/ecl/ecl-24.5.10.ebuild | 87 | ||||
-rw-r--r-- | dev-lisp/ecl/metadata.xml | 1 |
3 files changed, 91 insertions, 1 deletions
diff --git a/dev-lisp/ecl/Manifest b/dev-lisp/ecl/Manifest index a0996447675d..a113d8d6f5d2 100644 --- a/dev-lisp/ecl/Manifest +++ b/dev-lisp/ecl/Manifest @@ -5,6 +5,8 @@ AUX ecl-21.2.1-donotcompressinfo.patch 1023 BLAKE2B 6a1794bbba48c35ab21976bdfaba AUX ecl-21.2.1-ldflags.patch 468 BLAKE2B 78b515f6ca6be7283bc1323d361a49a3712efe1d3de910b99c4c4156117696f19a3e2ca1d90b7613b22b4c67e23391e416b52f0deff7fe4c1bf70fe0c1b74452 SHA512 083da13a5ee67b8951b075f0bde7d90211c81b38bc8cffee3c96b8c3023c4ece157b8f00bcbd0e1be4dcc7075030d98b0d78f22c42412ef2d7b50153bf8cac33 DIST ecl-21.2.1.tgz 7875088 BLAKE2B b8c05fab8ce5892ad9df830e3ad230e1c646bd30bc35243703ace18f1bf963057b132d980c74b364ff30a5b776a8f161e71bfd69d7908970811ab3dddbab1aac SHA512 0849bebe1a8073ea8027cfb172c1d7781d43adb6a8b80585bd08d5674b80422d1648b6fbf718cc17a51c5de6c696514523b4d13a82e8113bf9365c95d3c28648 DIST ecl-23.9.9.tgz 8129105 BLAKE2B 883454e1b5459b348a2184727dc9d512988f3b8218370cbe01045e5bc401a6785cb736a16592d20ad9fe19e6518056ece5b809323fa7697304f39d31d60021fc SHA512 c8f1dcf2bffad7358c3d4e5bb0924cbb69afaf79871e6444bd780a594e1e96e6c547346b7c9c5184a6b12ce920a6a959334cf2a85c3f3ea0e0c8f22f72fb84df +DIST ecl-24.5.10.tgz 8130112 BLAKE2B 76ee9b4dca68543151e8f8474651e3f2b540017b62ab2ba6e00d64002362045ccf0aad16d0f82d7fd9a7511423aa90f9ddce912bf4b314c7905f6e404b850d1a SHA512 46e6da0f319573e412e54573b3c029179ba9debf48f73828ad5dd0a99c4a0b4ef21f99b411fdab3dc5429242c917553eb3e9794eeac7ec44667cd26fc0dd927e EBUILD ecl-21.2.1-r5.ebuild 2097 BLAKE2B 47d9a8a8156e860f0ecb5a933e7aae919c885f9b16537bcf701c872a2d4a4b0e1434a684949dd780ab4c2ba9059368a8c9c82b69728321eb8cfdbcc79ec03f27 SHA512 30c973c0f496ce780c1b16fb4535a857a586d36c8a4974b21e8b5ca798ae4c508c9dca24907cc17d94426bb3536da7125d433a98d93fe66b2d57232dfcf3cdd6 EBUILD ecl-23.9.9-r1.ebuild 2055 BLAKE2B e986e5d3d7aee78df6cd5815b03abf2855d94f5fc60066186519329fa8128a17ecc1814c9668123234d610a5b8375097a5416c51e078c22eab822d256c4eb039 SHA512 585746f8389a18a265a2a06daa3638ee6f045e782f1c3fe7fdc05de37212c411da296c6fb1e2eea5f7b1800812433ea0d73eeafb7c944cb978abe9ab15cf48ec -MISC metadata.xml 846 BLAKE2B cfd3506d2ef216bd7b6db00f81ce82b51a3e765a5b74472b1e0c3c67319e399b6de622d1b7421b3cdc2f2d26bc085c8b9ddd23a67c9e8a050302ae8ac4b31fc6 SHA512 b94a6287432df3a728e2e103444c881a453ad231a87bb9ce07612139a471481f51894aa73f20e448c61e9bf205404b80b82771819d84d94a6ed5fbab7c269f0a +EBUILD ecl-24.5.10.ebuild 2058 BLAKE2B c8eb9bd7187cc87581d2b6298cda4bda6c794e90c111de20d04373294898f43b6a6fccf488cd8f71a504b0d4b6f952db27e1e5f683daa70c5c7df9d567614d6c SHA512 b3e9a183f2d173bdfb16fca55f51f2a49792c1b081f28f846b0e6f4fd833bd2ea576ef2b144970a252b131869e00b01b58331401e2a7629b94874e5ab70dd1ff +MISC metadata.xml 915 BLAKE2B 4af54e5f610b844e9fb1d171e58188e6c41b787ba9f5500e0c85f0d88a40c2cdce7ea2295b5b96ed3de7b68c9b10250d67477e32cd0c34f9888870335843b01f SHA512 dbf8ba7da649f2b6eb550b8c620ab4ea0f7c84c9a111fb2358181f18ab9a9c70855a3deebe4271dee5557af1b7e8d6303b29acfb8d6cd849138411c3d58e3991 diff --git a/dev-lisp/ecl/ecl-24.5.10.ebuild b/dev-lisp/ecl/ecl-24.5.10.ebuild new file mode 100644 index 000000000000..c5d2cd2b85a2 --- /dev/null +++ b/dev-lisp/ecl/ecl-24.5.10.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 + +DESCRIPTION="ECL is an embeddable Common Lisp implementation" +HOMEPAGE="https://common-lisp.net/project/ecl/" +SRC_URI="https://common-lisp.net/project/ecl/static/files/release/${P}.tgz" + +LICENSE="BSD-2 LGPL-2.1+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="cxx debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode X" +# test phase only works if ecl already installed #516876 +RESTRICT="test" + +RDEPEND="dev-libs/gmp:0= + dev-libs/libffi:= + dev-libs/libatomic_ops + >=dev-libs/boehm-gc-7.1[threads?] + >=dev-lisp/asdf-2.33-r3:=" +DEPEND="${RDEPEND} + app-text/texi2html + emacs? ( >=app-editors/emacs-23.1:* >=app-eselect/eselect-emacs-1.12 )" + +DOCS=( README.md CHANGELOG ) + +PATCHES=( + "${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch" + "${FILESDIR}/${PN}-16.1.3-build.patch" + "${FILESDIR}/${PN}-21.2.1-donotcompressinfo.patch" +) + +src_prepare() { + default + cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die +} + +src_configure() { + econf \ + --enable-gmp=system \ + --enable-boehm=system \ + --with-dffi \ + --enable-libatomic=system \ + --with-defsystem \ + $(use_with cxx) \ + $(use_enable gengc) \ + $(use_enable precisegc) \ + $(use_with debug debug-cflags) \ + $(use_with cpu_flags_x86_sse sse) \ + $(use_enable threads) \ + $(use_enable unicode) \ + $(use_with X x) +} + +src_compile() { + if use emacs; then + local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}') + [[ -n ${ETAGS} ]] || die "No etags implementation found" + pushd build > /dev/null || die + emake ETAGS=${ETAGS} TAGS + popd > /dev/null || die + else + touch build/TAGS + fi + + ## for /proc/self/clear_refs (see #867052) + addpredict /proc + + emake +} + +src_install() { + default + + readme.gentoo_create_doc + pushd build/doc > /dev/null || die + newman ecl.man ecl.1 + newman ecl-config.man ecl-config.1 + popd > /dev/null || die +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/dev-lisp/ecl/metadata.xml b/dev-lisp/ecl/metadata.xml index e3597447d67b..94495eddf267 100644 --- a/dev-lisp/ecl/metadata.xml +++ b/dev-lisp/ecl/metadata.xml @@ -14,6 +14,7 @@ <use> <flag name="gengc">Use generational garbage collection (experimental)</flag> <flag name="precisegc">Use type information during garbage collection (experimental)</flag> + <flag name="unicode">Make the produced lisp support unicode</flag> </use> <upstream> <remote-id type="gitlab">embeddable-common-lisp/ecl</remote-id> |