diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest new file mode 100644 index 0000000000..4c0dd85090 --- /dev/null +++ b/dev-ml/cstruct/Manifest @@ -0,0 +1 @@ +DIST ocaml-ctruct-6.0.0.tar.gz 242357 BLAKE2B e3f86f134cbae8724c392ba4e4a2c178cc49150758e995c24069a061e420ea2d53b26242d62397efb6e4cd5ba114f197fcab573bd831627bda833be16eaac668 SHA512 5dae3fe9f35d02ca0dedef1a01ad1ed2f7d52b167248b3badbcf3cf88d94104d4b6974b225d199a36a96c2282b5fbcc92baa00f98d3895d98472300ad0f50b1e diff --git a/dev-ml/cstruct/cstruct-6.0.0-r2.ebuild b/dev-ml/cstruct/cstruct-6.0.0-r2.ebuild new file mode 100644 index 0000000000..b6db64c461 --- /dev/null +++ b/dev-ml/cstruct/cstruct-6.0.0-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="Map OCaml arrays onto C-like structs" +HOMEPAGE="https://github.com/mirage/ocaml-cstruct" +SRC_URI="https://github.com/mirage/ocaml-cstruct/archive/v${PV}.tar.gz -> ocaml-ctruct-${PV}.tar.gz" +S="${WORKDIR}/ocaml-cstruct-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + >=dev-lang/ocaml-4.08.0 + >=dev-ml/fmt-0.8.9 + dev-ml/async + dev-ml/async_unix + dev-ml/core + dev-ml/lwt + dev-ml/sexplib + dev-ml/ppxlib +" +DEPEND="${RDEPEND}" + +src_install() { + dune_src_install cstruct-async + dune_src_install cstruct-lwt + dune_src_install cstruct-sexp + dune_src_install cstruct-unix + dune_src_install cstruct + dune_src_install ppx_cstruct +} diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml new file mode 100644 index 0000000000..e689615f67 --- /dev/null +++ b/dev-ml/cstruct/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-mainteiners welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-cstruct + +