summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocaml-migrate-parsetree')
-rw-r--r--dev-ml/ocaml-migrate-parsetree/Manifest1
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest
index 32755ad4ffca..415d86f48f85 100644
--- a/dev-ml/ocaml-migrate-parsetree/Manifest
+++ b/dev-ml/ocaml-migrate-parsetree/Manifest
@@ -1 +1,2 @@
DIST ocaml-migrate-parsetree-1.0.1.tar.gz 206070 SHA256 8655a95abcd1ef9e05219db19fb0f1eb79cf502276c9e8d007446575c3cbdf7f SHA512 de9992e4e8e9bbda6fcaeaab794f88f695ea69ed63ab083fb1746db53127a80d7dcc19b843c7dc9e2fa01132eacf89b000639c76c89d1010a6c4f6508af73a52 WHIRLPOOL ec9833768ec35d9d9838e47c35f34e680c0ce0e326d6b3cfe62f3016b96e8f031fcb84ddc5f5fe805dfe0dff5c82968ac44a2240c7133aeb1d3497d201ce1e22
+DIST ocaml-migrate-parsetree-1.0.2.tar.gz 206992 SHA256 3fe2aca50b720a5c9075a9e8260787d55f2555e8f809e09d7652976b3f2885d2 SHA512 718d87563369bb4d52f20f34f16d4a1ec92326cbd3e9bab9fd54aff7eecd70226da74e5398a2d7c3a6a8f4c2a53f7141e23ee734cc038096d659044bddbc3880 WHIRLPOOL 677a896b79352071b44808ffaf363b0dd7488eb166bd428ce53fb81d0968e8183f2e204ea8dd0e48609cd41dd09d47cc25a9418f344c8eff0bbd420f2ebeee81
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.2.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.2.ebuild
new file mode 100644
index 000000000000..22790ccda0fa
--- /dev/null
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="Convert OCaml parsetrees between different major versions"
+HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree"
+SRC_URI="https://github.com/let-def/ocaml-migrate-parsetree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+IUSE=""
+
+DEPEND="
+ dev-lang/ocaml:=
+ dev-ml/result:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/jbuilder
+ dev-ml/opam"
+
+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
+}