blob: 3bfacb103f463a535349bdd0d7e529debbd4de5c (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit findlib
DESCRIPTION="A new toplevel for OCaml with completion and colorization"
HOMEPAGE="https://github.com/diml/utop"
SRC_URI="https://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-lang/ocaml:=
>=dev-ml/lwt-2.4.0:=
dev-ml/lwt_react:=
>=dev-ml/lambda-term-1.2:=
>=dev-ml/zed-1.2:=
>=dev-ml/cppo-1.0.1:=
dev-ml/findlib:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/opam
dev-ml/jbuilder"
DOCS=( "CHANGES.md" "README.md" )
SITEFILE="50${PN}-gentoo.el"
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}
|