summaryrefslogtreecommitdiff
path: root/dev-ml/capnp-ocaml/capnp-ocaml-3.0.0.ebuild
blob: 7820e1bd32983460b835d50610c926e14291c189 (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
25
26
27
28
29
30
31
32
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit opam

DESCRIPTION="OCaml code generator plugin for the Cap'n Proto serialization framework"
HOMEPAGE="https://github.com/pelzlpj/capnp-ocaml"
SRC_URI="https://github.com/pelzlpj/capnp-ocaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"

RDEPEND="
	dev-ml/core_kernel:=
	dev-ml/ocaml-extunix:=
	dev-ml/ocplib-endian:=
	dev-ml/res:=
	dev-ml/ocaml-uint:=
	dev-libs/capnproto:=
"
DEPEND="${RDEPEND}
	test? ( dev-ml/core:= dev-ml/ounit )
	dev-ml/jbuilder
"

src_install() {
	opam_src_install capnp
}