summaryrefslogtreecommitdiff
path: root/dev-ml/cstruct/cstruct-5.2.0.ebuild
blob: f2b874f5dceb476429c6f5b46c2ccca006aa2d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit dune

MYP=${PN}-v${PV}

DESCRIPTION="Map OCaml arrays onto C-like structs"
HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io"
SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/v${PV}/${MYP}.tbz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"

RDEPEND="dev-ml/async_unix:=
	dev-ml/bigarray-compat:=
	>=dev-ml/ppx_tools_versioned-5.4.0:="
DEPEND="${RDEPEND}"

S="${WORKDIR}"/${MYP}