summaryrefslogtreecommitdiff
blob: acc14d95595af96bb081f3e0112b2003c0495e71 (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="GLib integration for Lwt"
SRC_URI="https://github.com/ocsigen/lwt/archive/${P}.tar.gz"
HOMEPAGE="http://ocsigen.org/lwt"

IUSE=""

RDEPEND="
	>=dev-ml/lwt-3.1:=
	>=dev-ml/ocaml-ssl-0.4.0:=
"
DEPEND="${RDEPEND}
	dev-ml/jbuilder"

SLOT="0/${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
KEYWORDS="~amd64 ~arm ~ppc ~x86-fbsd"
S="${WORKDIR}/lwt-${P}/"

src_compile() {
	jbuilder build -p ${PN} || die
}

src_test() {
	jbuilder runtest -p ${PN} || die
}