Package-Manager: Portage-2.3.10, Repoman-2.3.3
EAPI="5"
+inherit opam
+
DESCRIPTION="Alternative String module for OCaml"
HOMEPAGE="http://erratique.ch/software/astring https://github.com/dbuenzli/astring"
SRC_URI="http://erratique.ch/software/astring/releases/${P}.tbz"
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
DEPEND="${RDEPEND}
- dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
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
-}