summaryrefslogtreecommitdiff
blob: 6402be1841e6057a594cb90cfb1fee55385858bc (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit findlib

DESCRIPTION="Dereference URIs into communication channels for Async or Lwt"
HOMEPAGE="https://github.com/mirage/ocaml-conduit"
SRC_URI="https://github.com/mirage/ocaml-conduit/archive/v${PV}.tar.gz -> ${P}.tar.gz"

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

DEPEND="
	dev-lang/ocaml:=
	dev-ml/sexplib:=
	dev-ml/stringext:=
	dev-ml/ocaml-uri:=
	dev-ml/logs:=
	dev-ml/ocaml-cstruct:=
	dev-ml/ocaml-ipaddr:=

	dev-ml/lwt:=
	dev-ml/async:=
	dev-ml/ocaml-dns:=
	dev-ml/ocaml-ssl:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
	dev-ml/findlib
	dev-ml/ocamlbuild
	dev-ml/ppx_driver
	dev-ml/ppx_optcomp
	dev-ml/ppx_sexp_conv
"

DOCS=( TODO.md README.md CHANGES )

src_install() {
	findlib_src_preinst
	default
}