From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlidl/
Date: Wed, 09 Jul 2025 20:42:25 +0000 (UTC) [thread overview]
Message-ID: <1752093719.69d1225e48079ccb09b060252b325d0cc492320f.tupone@gentoo> (raw)
commit: 69d1225e48079ccb09b060252b325d0cc492320f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 9 20:41:42 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jul 9 20:41:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d1225e
dev-ml/camlidl: add 1.13
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/camlidl/Manifest | 1 +
dev-ml/camlidl/camlidl-1.13.ebuild | 66 ++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-ml/camlidl/Manifest b/dev-ml/camlidl/Manifest
index eb1e0a710786..5119b3df0d9c 100644
--- a/dev-ml/camlidl/Manifest
+++ b/dev-ml/camlidl/Manifest
@@ -1 +1,2 @@
DIST camlidl112.tar.gz 182507 BLAKE2B 3a1e4f3f7341bb3e34397af995c660178850c9a774a44866f458cb7731e143e5e2252355c200c7d82f7d55d765749aa26105642027867623f0f6e3125f98c892 SHA512 b60b666c865bf923b1f2499238fd81232454a5d358960dd2038707bf71916d5dd7432044a01fa272e61cd2af6867aa23330f6f06398f213fd3e92072e1d784a1
+DIST camlidl113.tar.gz 183353 BLAKE2B bfbf1fcc8ca8ec6bbb55d38d48dd427d13e38917f3b74d00fb895419f0302f4b6caf16dea167aeeac35326ce116dc8620e9fa5024b1ddf9b25717956c6123ef0 SHA512 c9a33d6b49bf51f1957941bac591090e568ffc2d56b75ed777141ef4fd599c87ae968cdc473d8cee325083aa1a0bbc31215540f19fcfc8bb94f8db2ce9deb35c
diff --git a/dev-ml/camlidl/camlidl-1.13.ebuild b/dev-ml/camlidl/camlidl-1.13.ebuild
new file mode 100644
index 000000000000..fdf3776daf27
--- /dev/null
+++ b/dev-ml/camlidl/camlidl-1.13.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Stub code generator for OCaml"
+HOMEPAGE="https://github.com/xavierleroy/camlidl"
+SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz"
+
+S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
+
+LICENSE="QPL-1.0 LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="dev-lang/ocaml:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/nowarn.patch"
+)
+
+src_prepare() {
+ sed -i \
+ -e "s|ar rc|$(tc-getAR) rc|g" \
+ runtime/Makefile.unix \
+ || die
+ default
+}
+
+src_compile() {
+ # Use the UNIX makefile
+ libdir=$(ocamlc -where || die)
+
+ sed -i -e "s|OCAMLLIB=.*|OCAMLLIB=${libdir}|" config/Makefile.unix || die
+ sed -i -e "s|BINDIR=.*|BINDIR=${EPREFIX}/usr/bin|" config/Makefile.unix || die
+ ln -s Makefile.unix config/Makefile || die
+
+ # Make
+ emake depend CPP="$(tc-getPROG CPP cpp)"
+ emake -j1 RANLIB="$(tc-getRANLIB)"
+}
+
+src_test() {
+ einfo "Running tests..."
+ cd tests || die
+ emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)"
+}
+
+src_install() {
+ libdir=$(ocamlc -where || die)
+ dodir "${libdir#${EPREFIX}}"/caml
+
+ dodir /usr/bin
+ dodir /usr/$(get_libdir)/ocaml/stublibs
+ # Install
+ emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" RANLIB="$(tc-getRANLIB)" install
+
+ # Add package header
+ sed -e "s/@VERSION/${P}/g" "${FILESDIR}/META.camlidl" > "${D}${libdir}/META.camlidl" || die
+
+ # Documentation
+ dodoc README Changes
+}
next reply other threads:[~2025-07-09 20:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 20:42 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-13 19:59 [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlidl/ Alfredo Tupone
2024-10-15 15:25 Arthur Zamarin
2024-06-16 13:58 Alfredo Tupone
2024-05-31 7:13 Alfredo Tupone
2023-03-17 2:29 Sam James
2023-03-17 2:29 Sam James
2023-01-19 21:27 Alfredo Tupone
2023-01-19 21:18 Alfredo Tupone
2022-12-04 21:17 Alfredo Tupone
2022-10-16 19:59 Alfredo Tupone
2022-02-01 20:18 Alfredo Tupone
2022-01-28 6:54 Alfredo Tupone
2022-01-24 13:31 Alfredo Tupone
2022-01-22 13:51 Alfredo Tupone
2015-08-26 14:23 Mikle Kolyada
2015-08-16 23:03 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1752093719.69d1225e48079ccb09b060252b325d0cc492320f.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox