Package-Manager: Portage-2.3.6, Repoman-2.3.3
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit findlib
+inherit findlib opam
DESCRIPTION="OCaml module implementing 128 bits universally unique identifiers"
HOMEPAGE="http://erratique.ch/software/uuidm"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND="dev-lang/ocaml:=
- dev-ml/cmdliner:="
-DEPEND="${RDEPEND}
- dev-ml/opam"
+RDEPEND="dev-ml/cmdliner:="
+DEPEND="${RDEPEND}"
src_compile() {
ocaml pkg/pkg.ml build || die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
- dodoc CHANGES.md README.md
-}