summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:13:13 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:38 +0200
commitc5aca924d7eb87474102a4e135420e99840e79bd (patch)
treea46266a9977c1112dcaaf3e38c9936267e48ecee
parentdev-ml/fmt: Remove old (diff)
downloadgentoo-c5aca924d7eb87474102a4e135420e99840e79bd.tar.gz
gentoo-c5aca924d7eb87474102a4e135420e99840e79bd.tar.bz2
gentoo-c5aca924d7eb87474102a4e135420e99840e79bd.zip
dev-ml/fmt: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
-rw-r--r--dev-ml/fmt/fmt-0.8.4.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-ml/fmt/fmt-0.8.4.ebuild b/dev-ml/fmt/fmt-0.8.4.ebuild
index 8e0f58572e56..19b27b4284d0 100644
--- a/dev-ml/fmt/fmt-0.8.4.ebuild
+++ b/dev-ml/fmt/fmt-0.8.4.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-inherit findlib
+inherit findlib opam
DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt"
@@ -19,7 +19,6 @@ RDEPEND="dev-ml/result:=[ocamlopt]
dev-ml/uchar:=[ocamlopt]
dev-ml/cmdliner:=[ocamlopt]"
DEPEND="${RDEPEND}
- dev-ml/opam
>=dev-ml/topkg-0.9
dev-ml/ocamlbuild
dev-ml/findlib"
@@ -31,12 +30,3 @@ src_compile() {
src_test() {
ocaml pkg/pkg.ml test || 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
-}