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

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-04-12 21:26:57 +02:00
parent fefeae8101
commit f5a2745f48
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}