Package-Manager: Portage-2.3.10, Repoman-2.3.3
EAPI=6
+inherit opam
+
DESCRIPTION="File system paths for OCaml"
HOMEPAGE="http://erratique.ch/software/fpath https://github.com/dbuenzli/fpath"
SRC_URI="http://erratique.ch/software/fpath/releases/${P}.tbz"
IUSE=""
RDEPEND="
- dev-lang/ocaml:=
dev-ml/result:=
dev-ml/astring:=
"
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
-}