summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/sexplib/sexplib-0.9.2.ebuild')
-rw-r--r--dev-ml/sexplib/sexplib-0.9.2.ebuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/dev-ml/sexplib/sexplib-0.9.2.ebuild b/dev-ml/sexplib/sexplib-0.9.2.ebuild
index 8ea3c1e31504..0def0f6d5dfb 100644
--- a/dev-ml/sexplib/sexplib-0.9.2.ebuild
+++ b/dev-ml/sexplib/sexplib-0.9.2.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions"
HOMEPAGE="https://github.com/janestreet/sexplib"
SRC_URI="https://github.com/janestreet/sexplib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -12,18 +14,9 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc"
IUSE=""
-RDEPEND="dev-lang/ocaml:="
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
+RDEPEND=""
+DEPEND="${RDEPEND} dev-ml/jbuilder"
src_test() {
jbuilder runtest || 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.org
-}