commit: 74f12defd4da532db8e883ca280bed75a381349f Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Aug 2 11:15:33 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Aug 2 11:22:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f12def
dev-ml/sexplib: convert to opam.eclass Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-ml/sexplib/sexplib-0.9.2.ebuild | 15 ++++----------- 1 file 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 8ea3c1e3150..0def0f6d5df 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 -}
