summaryrefslogtreecommitdiff
blob: 7047a3ea4d8d8a9f90d79d2929d08160d7f702c2 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit findlib

DESCRIPTION="Inline (Unit) Tests for OCaml"
HOMEPAGE="https://github.com/vincent-hugot/iTeML"
SRC_URI="https://github.com/vincent-hugot/iTeML/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-ml/ounit:=
	dev-lang/ocaml:=[ocamlopt]
	>=dev-ml/qcheck-0.5:=
"
DEPEND="${RDEPEND}
	dev-ml/ocamlbuild
"

src_install() {
	findlib_src_preinst
	dodir /usr/bin
	emake BIN="${ED}/usr/bin/" install
	dodoc README.adoc HOWTO.adoc
}