commit:     f5a2745f48b3a5656179d64344502ebb07f62eb3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 19:26:57 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 19:27:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a2745f

dev-ml/luv: readd luv-0.5.11-r2.ebuild

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/luv/Manifest             |  1 +
 dev-ml/luv/luv-0.5.11-r2.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-ml/luv/Manifest b/dev-ml/luv/Manifest
index 1c7237a551f6..8ee82b876df5 100644
--- a/dev-ml/luv/Manifest
+++ b/dev-ml/luv/Manifest
@@ -1 +1,2 @@
+DIST luv-0.5.11.tar.gz 809549 BLAKE2B 
932bf48cb2d9ca32777d3c3d7457db5f4fb9dbfd51a8efbdf9282a9ebd941c53c56d7c17cf5e502c0e742dea1d1d76623d4adad32476fb36a0c08efded331f98
 SHA512 
8d1d7842583b02b906d89fe14bda5a66809d8ef7185efbe95e0fe7df619b795ad89fcbf16bfe1c3e92cef8721fe3d4e6192cabe215f3fe13b33de7335783e5f3
 DIST luv-0.5.14.tar.gz 849832 BLAKE2B 
5fe04991fdf793d8981b5f978e41a7c170666e917e4272b0b94e0fbc11bcb795d0e7e3dea5a9affea86fe501fba0edcf6418d6d05a48233a9ef5b839755e4d2e
 SHA512 
05fd79209a30d46030af7edf8f4384ec1dcf6423ccb27f25f0231a65c152946ac557ba54d8387f70ffbf402ebc474176dd312897077c46d7774afeaacd3b7d77

diff --git a/dev-ml/luv/luv-0.5.11-r2.ebuild b/dev-ml/luv/luv-0.5.11-r2.ebuild
new file mode 100644
index 000000000000..df0cefa5052d
--- /dev/null
+++ b/dev-ml/luv/luv-0.5.11-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Binding to libuv: cross-platform asynchronous I/O"
+HOMEPAGE="https://github.com/aantron/luv";
+SRC_URI="https://github.com/aantron/${PN}/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-lang/ocaml:=[ocamlopt?]
+       dev-libs/libuv:=
+       dev-ml/ocaml-ctypes:=[ocamlopt?]
+       dev-ml/result:=[ocamlopt?]
+       dev-ml/integers:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gnuconfig
+       test? ( dev-ml/alcotest[ocamlopt?] )"
+
+src_prepare() {
+       default
+
+       cp "${BROOT}"/usr/share/gnuconfig/config.{guess,sub} 
src/c/vendor/configure/ || die
+}
+
+src_compile() {
+       LUV_USE_SYSTEM_LIBUV=yes dune_src_compile
+}

Reply via email to