diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 19:58:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 19:58:53 +0100 |
commit | adab5aeec61fe929e5a817ec8034d98caab9ddbe (patch) | |
tree | b1edc4f239d68ba31ab2e5ba8def5091023c2691 /dev-ml/luv/luv-0.5.11-r2.ebuild | |
parent | 12652841746da7ae2f03b8b0c571a9bd5033e15c (diff) |
gentoo auto-resync : 19:10:2022 - 19:58:53
Diffstat (limited to 'dev-ml/luv/luv-0.5.11-r2.ebuild')
-rw-r--r-- | dev-ml/luv/luv-0.5.11-r2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
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..8f5b8cd3773e --- /dev/null +++ b/dev-ml/luv/luv-0.5.11-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 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 +} |