summaryrefslogtreecommitdiff
path: root/dev-ml/camlp4
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
commit45392c898b8ba163e95028bd98896e77f0c73806 (patch)
treebf6b64dd472acc2960a5c24b26dd0ac036b47d0d /dev-ml/camlp4
parent2916cf6049cf9d3092021e247d56c580df6029a7 (diff)
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'dev-ml/camlp4')
-rw-r--r--dev-ml/camlp4/Manifest2
-rw-r--r--dev-ml/camlp4/camlp4-5.2_p1.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest
index 1c1ab2be478b..9354bda2fb66 100644
--- a/dev-ml/camlp4/Manifest
+++ b/dev-ml/camlp4/Manifest
@@ -5,10 +5,12 @@ DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c55
DIST camlp4-4.12.tar.gz 650428 BLAKE2B 4957d3db73ec82fbac58dd95fa13c48f9f8480a70cd6bded43a00df0a182f9b9e31a43acef8264f9d940776667d10b0a5c46bded59ebf4a645719264628428fc SHA512 0a19bb596e47076a28a6bea62007f1d3b59c4d688075f6b723abaa205c555707feb4ea0624259994a4ba5251fdea9dc61cdc936dc13611b36937e755a4bc9b7b
DIST camlp4-4.13.tar.gz 650642 BLAKE2B 5bf70b21f47eefe4631227d0d30fdd08ab965020026d0183fc94b9dbfd1eee45626afbe62bf9507b1a887217cf9245901d40f25cce9430155eb9ec1ddc577554 SHA512 d3307bd11b813540d126719c0afe7e75a7740d0851b272be9bd1a28e8b1ab1ed9a7576109000c8d6cee7ece7f777122aa83917a48147d42ed8f4d72994397819
DIST camlp4-4.14_p1.tar.gz 641790 BLAKE2B 3e1054a924956e9c23d43fb4ef00cf99fe09f6d2a5eb4216cb3d5079a439159d36703b6ae268789d73e51e87ed0329531b25c2e846df03c4ae99b1a6403b84c3 SHA512 1853ae0465a1366cf73d7aa9de56c037ef3d4bb5b341fe3eeb39677b5b08bda44316634b93d5d35d917a98dff8eb40da974937f714ab609818e7d25f716de811
+DIST camlp4-5.2_p1.tar.gz 653548 BLAKE2B 27002802bbf0d0a67d5c2c967fa54d72087c9b08020d290ec081545ef4d4c7bea794ab8ea74608d63ed4a51b58fe44a1ac921d4de9f66f754a7b3d931e5ed818 SHA512 7034cf32575b6a7dc0406fea3c354068598195aa84a75e8576ea1219c38e4bffdc048c936d440bab235aea76510972a174bffba13f4f94f531b80fb4d80ca4ad
EBUILD camlp4-4.09_p1-r2.ebuild 1076 BLAKE2B 306e17e1e17969944c7404dd7fead2dd2a87ec9efcef9cd97cbe0d6e5f51168b07116f1eaa907676f35fda091bfa4249f503fc0d82c8d7a11af59972a29ac0da SHA512 8a6ec11e24d02d2c7deb5003f759fee41b2c807d6ea11fac1e66a650a90652df23b6a2e579c103b7c4abd50062a0374bc7f5e4684e83020dc6869ff15ac56d56
EBUILD camlp4-4.10_p1-r3.ebuild 1091 BLAKE2B be2cd293ef5a0c57b42aae0d00ce9ae037b42ec79de2932b0ef52d083c8351507a712170cd4469d2e6329d651fc4c761f82421df5f3e3b28c842adbad6ec9ebd SHA512 0335c361e5c63cfaa3fba9f4b73696c83ada275ad77fb61049fd01098c28d5fbc2582933f61993328f92ef59f7821aa7d1980285dcb4278c25c46224ba293735
EBUILD camlp4-4.11_p1-r3.ebuild 1086 BLAKE2B f538b994cd9755de93b8f8b78e7f9fcb48d90c04c5292f6599047dfe22b2c368e97df5ff65ffbb0e7aa5c67052e44c2d81b2a5c6f06885ae701dd064df06db2d SHA512 ece702be561c5f64a9da11ad9ec623f891b369838a1c79d11b5eeff999f3ddb560cad8fdf8463c0941e89a5b034a73a85cfa27b26ac8141722237c6676548787
EBUILD camlp4-4.12-r2.ebuild 1091 BLAKE2B be2cd293ef5a0c57b42aae0d00ce9ae037b42ec79de2932b0ef52d083c8351507a712170cd4469d2e6329d651fc4c761f82421df5f3e3b28c842adbad6ec9ebd SHA512 0335c361e5c63cfaa3fba9f4b73696c83ada275ad77fb61049fd01098c28d5fbc2582933f61993328f92ef59f7821aa7d1980285dcb4278c25c46224ba293735
EBUILD camlp4-4.13-r2.ebuild 1091 BLAKE2B be2cd293ef5a0c57b42aae0d00ce9ae037b42ec79de2932b0ef52d083c8351507a712170cd4469d2e6329d651fc4c761f82421df5f3e3b28c842adbad6ec9ebd SHA512 0335c361e5c63cfaa3fba9f4b73696c83ada275ad77fb61049fd01098c28d5fbc2582933f61993328f92ef59f7821aa7d1980285dcb4278c25c46224ba293735
EBUILD camlp4-4.14_p1-r2.ebuild 1257 BLAKE2B 81e8a93f2b4920083c05a435ed76697ed70b774a0b5c533f97c8e953fb65b0f7deb7937016cfe3772fc2eb1626ab9ca7d204f880528446623a85d17d61c8a93c SHA512 0fe6f645b7ecfeaf8f0e5ccdde8a161119051e64b0a0a43b99c67440d13f5c74f14c2f47e091a48a3c257eb81b6467aa145c3597e443461557dff94761db0d26
+EBUILD camlp4-5.2_p1.ebuild 1293 BLAKE2B 859fcccad24f4626d627f3321de92006f136fc22047130f614533c6d56220c55286ac5629b342ba21c53d62b10ef921ce42161b8fd215cf59703513614a83543 SHA512 6a11c71a846e241d1527335d004b95fe1fc5d3d8260592a23d2390944c14744f973657e76ac3949cb49a5b29ad51bb8fe752c81d474f078d5bc68c7b116ccac9
MISC metadata.xml 311 BLAKE2B df7b6782aa51573cacb68804c03a7041d38121431bf08768497e9dafb904c3aef215665fff86c636a6040d0e6bea4912153f5e7adce8b5e5b55084dd740e158a SHA512 27e477a667e95796be69cb2648c09d364236b3962338754e3f27d9ca8c64612e4e24a519dc62c4da65881efd751db229f1cfbee6ca89446a4997e13241d448a9
diff --git a/dev-ml/camlp4/camlp4-5.2_p1.ebuild b/dev-ml/camlp4/camlp4-5.2_p1.ebuild
new file mode 100644
index 000000000000..e7445e57932a
--- /dev/null
+++ b/dev-ml/camlp4/camlp4-5.2_p1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=${PV/_p/+}
+MY_P=${PN}-${MY_PV}
+
+inherit edo
+
+DESCRIPTION="System for writing extensible parsers for programming languages"
+HOMEPAGE="https://github.com/camlp4/camlp4"
+SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${P/_p/-}
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ocamlopt"
+
+RDEPEND="
+ =dev-lang/ocaml-5.2*:=[ocamlopt?]
+ dev-ml/camlp-streams:=[ocamlopt?]
+"
+DEPEND="
+ ${RDEPEND}
+ dev-ml/ocamlbuild[ocamlopt?]
+ dev-ml/findlib:=
+"
+
+QA_FLAGS_IGNORED='.*'
+
+PATCHES=( "${FILESDIR}/reload.patch" )
+
+src_configure() {
+ edo ./configure \
+ --bindir="${EPREFIX}/usr/bin" \
+ --libdir="$(ocamlc -where)" \
+ --pkgdir="$(ocamlc -where)"
+}
+
+src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
+
+ emake byte
+ use ocamlopt && emake native
+}
+
+src_install() {
+ # OCaml generates textrels on 32-bit arches
+ if use arm || use ppc || use x86 ; then
+ export QA_TEXTRELS='.*'
+ fi
+ emake DESTDIR="${D}" install install-META
+ dodoc CHANGES.md README.md
+}