diff options
author | Sam James <sam@gentoo.org> | 2021-03-22 04:13:52 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 06:09:18 +0000 |
commit | f3ee72e4db74ecf8657231b36cf57b46a6768d9f (patch) | |
tree | bcc80b1d7e4bd99fc7ed525a0c8a2e92d4646c8f /dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild | |
parent | dev-ml/ocaml-dispatch: treeclean (diff) | |
download | gentoo-f3ee72e4db74ecf8657231b36cf57b46a6768d9f.tar.gz gentoo-f3ee72e4db74ecf8657231b36cf57b46a6768d9f.tar.bz2 gentoo-f3ee72e4db74ecf8657231b36cf57b46a6768d9f.zip |
dev-ml/ocaml-cstruct: treeclean
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild')
-rw-r--r-- | dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild deleted file mode 100644 index f766d6e0c4f8..000000000000 --- a/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit findlib opam - -DESCRIPTION="Map OCaml arrays onto C-like structs" -HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io" -SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ISC" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="async +lwt +ppx test" -RESTRICT="!test? ( test )" - -RDEPEND=" - async? ( - dev-ml/async_kernel:= - dev-ml/async_unix:= - dev-ml/core_kernel:= - ) - lwt? ( dev-ml/lwt:= ) - ppx? ( - dev-ml/ppx_tools:= - dev-ml/ocaml-migrate-parsetree:= - >=dev-ml/ppx_tools_versioned-5.0.1:= - ) - dev-ml/ocplib-endian:= - dev-ml/sexplib:= - dev-ml/type-conv:= -" -DEPEND=" - dev-ml/jbuilder - test? ( - dev-ml/ounit - ppx? ( dev-ml/ppx_driver dev-ml/ppx_sexp_conv ) - ) - ${RDEPEND} -" - -get_targets() { - local tgt="cstruct,cstruct-unix" - use lwt && tgt+=",cstruct-lwt" - use async && tgt+=",cstruct-async" - use ppx && tgt+=",ppx_cstruct" - echo "${tgt}" -} - -src_compile() { - jbuilder build -p $(get_targets) || die -} - -src_test() { - jbuilder runtest -p $(get_targets) || die -} - -src_install() { - opam-install cstruct - opam-install cstruct-unix - use lwt && opam-install cstruct-lwt - use async && opam-install cstruct-async - use ppx && opam-install ppx_cstruct -} |