You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ml/luv/luv-0.5.10-r3.ebuild

33 lines
769 B

# 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 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
<=dev-lang/ocaml-4.13:=[ocamlopt?]
dev-libs/libuv:=
dev-ml/ocaml-ctypes:=[ocamlopt?]
dev-ml/result:=[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
}