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/ocaml-ctypes/ocaml-ctypes-0.21.1-r1.ebuild

29 lines
709 B

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME=ctypes
inherit dune
DESCRIPTION="Library for binding to C libraries using pure OCaml"
HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes/"
SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${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-4.03:=
>=dev-libs/libffi-3.3_rc0:=
dev-ml/bigarray-compat:=
dev-ml/integers:=
dev-ml/dune-configurator:=
"
DEPEND="${RDEPEND}
test? ( dev-ml/ounit2 dev-ml/lwt )"
REQUIRED_USE="ocamlopt"