diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/astring/astring-0.8.3.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/dev-ml/astring/astring-0.8.3.ebuild b/dev-ml/astring/astring-0.8.3.ebuild index b992a79e8353..cd17e8514586 100644 --- a/dev-ml/astring/astring-0.8.3.ebuild +++ b/dev-ml/astring/astring-0.8.3.ebuild @@ -3,6 +3,8 @@ 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" @@ -14,7 +16,6 @@ IUSE="" RDEPEND="dev-lang/ocaml:=[ocamlopt]" DEPEND="${RDEPEND} - dev-ml/opam dev-ml/topkg dev-ml/ocamlbuild dev-ml/findlib" @@ -22,12 +23,3 @@ 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 -} |