Install this version:
emerge -a =dev-ml/luv-0.5.14
# Copyright 1999-2024 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"
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/aantron/${PN}.git"
else
SRC_URI="https://github.com/aantron/${PN}/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
fi
LICENSE="MIT"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libuv:=
>=dev-ml/ocaml-ctypes-0.23:=[ocamlopt?]
dev-ml/result:=[ocamlopt?]
dev-ml/integers:=[ocamlopt?]
"
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
}
Manage flags for this package:
euse -i <flag> -p dev-ml/luv |
euse -E <flag> -p dev-ml/luv |
euse -D <flag> -p dev-ml/luv
dev-libs/libuv:= >=dev-ml/ocaml-ctypes-0.23:=[ocamlopt?] dev-ml/result:=[ocamlopt?] dev-ml/integers:=[ocamlopt?]
dev-libs/libuv:= >=dev-ml/ocaml-ctypes-0.23:=[ocamlopt?] dev-ml/result:=[ocamlopt?] dev-ml/integers:=[ocamlopt?]
sys-devel/gnuconfig test? ( dev-ml/alcotest[ocamlopt?] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | luv-0.5.14.tar.gz | 849832 bytes | https://github.com/aantron/luv/releases/download/0.5.14/luv-0.5.14.tar.gz |