summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-02 13:15:33 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:52 +0200
commit74f12defd4da532db8e883ca280bed75a381349f (patch)
tree8f5eb7de6ce3b0b1edd164eb9360d4ad1a591e35
parentdev-ml/spawn: conver to opam.eclass (diff)
downloadgentoo-74f12defd4da532db8e883ca280bed75a381349f.tar.gz
gentoo-74f12defd4da532db8e883ca280bed75a381349f.tar.bz2
gentoo-74f12defd4da532db8e883ca280bed75a381349f.zip
dev-ml/sexplib: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-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
-}