summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-02 12:13:10 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:39 +0200
commit05a93c6327f8ec1c307d13502d6efa1cc5fe3d5d (patch)
tree6b0bc01ecdaadf9b62e3a5efba628e7e1e78257c /dev-ml/variantslib
parentdev-ml/xmlm: Remove old (diff)
downloadgentoo-05a93c6327f8ec1c307d13502d6efa1cc5fe3d5d.tar.gz
gentoo-05a93c6327f8ec1c307d13502d6efa1cc5fe3d5d.tar.bz2
gentoo-05a93c6327f8ec1c307d13502d6efa1cc5fe3d5d.zip
dev-ml/variantslib: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/variantslib')
-rw-r--r--dev-ml/variantslib/variantslib-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/variantslib/variantslib-0.9.0.ebuild b/dev-ml/variantslib/variantslib-0.9.0.ebuild
index 7bb8fed42f09..a50b4f2ef0e0 100644
--- a/dev-ml/variantslib/variantslib-0.9.0.ebuild
+++ b/dev-ml/variantslib/variantslib-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="OCaml variants as first class values"
HOMEPAGE="https://github.com/janestreet/variantslib"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,17 +15,8 @@ KEYWORDS="~amd64"
IUSE=""
RDEPEND="
- dev-lang/ocaml:=
dev-ml/base:=
dev-ml/ppx_driver:=
dev-ml/ocaml-migrate-parsetree:=
"
-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}" \
- ${PN}.install || die
-}
+DEPEND="${RDEPEND} dev-ml/jbuilder"