diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:28:37 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:31:46 +0200 |
commit | 78d07e8f56dc4d1d6f19233ccfd948646325fe3a (patch) | |
tree | c0a9f25378dfee22ea6d4c9db02f27f5749ad74b /dev-ml/ocaml-compiler-libs | |
parent | dev-ml/ocaml-base64: update to opam.eclass (diff) | |
download | gentoo-78d07e8f56dc4d1d6f19233ccfd948646325fe3a.tar.gz gentoo-78d07e8f56dc4d1d6f19233ccfd948646325fe3a.tar.bz2 gentoo-78d07e8f56dc4d1d6f19233ccfd948646325fe3a.zip |
dev-ml/ocaml-compiler-libs: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ocaml-compiler-libs')
-rw-r--r-- | dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.9.0.ebuild | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.9.0.ebuild b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.9.0.ebuild index 1c94b1a1bdf0..82cd4f1c3a94 100644 --- a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.9.0.ebuild +++ b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Repackage the OCaml compiler libs so they do not expose everything at toplevel" HOMEPAGE="https://github.com/janestreet/ocaml-compiler-libs" SRC_URI="https://github.com/janestreet/ocaml-compiler-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -12,17 +14,6 @@ SLOT="0/${PV}" KEYWORDS="~amd64 ~ppc" IUSE="" -DEPEND="dev-lang/ocaml:=" -RDEPEND="${DEPEND}" +RDEPEND="" DEPEND="${RDEPEND} - dev-ml/opam dev-ml/jbuilder" - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - --mandir="${ED}/usr/share/man" \ - ${PN}.install || die -} |