summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-18 21:07:53 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-18 22:09:52 +0200
commit11f5bb8ded256243071e14d5e1458cc947ca5a79 (patch)
treeb7d16214e99f866f79adf2146bf8c21d490e7a2a /dev-ml/jbuilder
parentdev-ml/batteries: bump to 2.6.0 (diff)
downloadgentoo-11f5bb8ded256243071e14d5e1458cc947ca5a79.tar.gz
gentoo-11f5bb8ded256243071e14d5e1458cc947ca5a79.tar.bz2
gentoo-11f5bb8ded256243071e14d5e1458cc947ca5a79.zip
dev-ml/jbuilder: bump to 1.0_beta8
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/jbuilder')
-rw-r--r--dev-ml/jbuilder/Manifest1
-rw-r--r--dev-ml/jbuilder/jbuilder-1.0_beta8.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/jbuilder/Manifest b/dev-ml/jbuilder/Manifest
index 751098fead6d..66b62bd7215a 100644
--- a/dev-ml/jbuilder/Manifest
+++ b/dev-ml/jbuilder/Manifest
@@ -1,2 +1,3 @@
DIST jbuilder-1.0-beta5.tar.gz 198050 SHA256 c246311e6b05569c04db4d16f065b2b18f8f2d9a58a5c43445b65fa87f1092c4 SHA512 b972171ca237e6f8674b6165cefb1c35158d871922fc6fed9c226c4737fde51712fa0dfeb7f9184c40a2aadd8a38c0660740352c7a32a0db50aad2214de9493e WHIRLPOOL ffbf9c2527825043f8961aeafb0e46099373e840a004b5a48ad7a2702f9b878eece28d26bcf2b1f2cbf1065ab35fd1c72b153d7b644ec64676e70e5c40507afc
DIST jbuilder-1.0-beta6.tar.gz 201586 SHA256 757d3cd16e1eb5ea723014e4c2cbf5723effb770a727f85992cddbbbc84e7c01 SHA512 309eaf634eb06aa4431cd43e17a35a68698ac14741b1364022a280d0a22654dc43db9099dcbbaec0ea55cc2fabbd6d86ea9cc693149276db2e90ce5e96fb2731 WHIRLPOOL d2687ea5d33527355d7b8d09c3e621129059f9a1a99d4b5f65fe6adbd4b14b6e93a9a24b14cfc44aac767b1591e523ab6c96b7ec9424e4f251b72a5b75db4e1d
+DIST jbuilder-1.0-beta8.tar.gz 207527 SHA256 279b070ae643879d1b28a741921b54065c3a09eacdd60e6ba3357024c9e9691c SHA512 5375a725d20711f8ebd29cf120904e85c567eeb0324f0f3cf12dfe8f6f52a622ea43b4b25ec510f94c53dd8ed43327db474cb11e0748815ddf6e50cd627e2f09 WHIRLPOOL f8ed82e5b0bf886326ab75f7a66a853964b412a6b7c1a9c1e39eeeff0fec82a0ca66d7207aa0d0c8c7b3d84bc21624854d3c4cbc721c785d962af0d8eb0a95ec
diff --git a/dev-ml/jbuilder/jbuilder-1.0_beta8.ebuild b/dev-ml/jbuilder/jbuilder-1.0_beta8.ebuild
new file mode 100644
index 000000000000..2a4e160a1254
--- /dev/null
+++ b/dev-ml/jbuilder/jbuilder-1.0_beta8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PV="${PV/_/+}"
+MY_P="${PN}-${PV/_/-}"
+
+DESCRIPTION="A composable build system for OCaml"
+HOMEPAGE="https://github.com/janestreet/jbuilder"
+SRC_URI="https://github.com/janestreet/jbuilder/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc"
+IUSE=""
+
+DEPEND="dev-lang/ocaml:="
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/opam
+"
+OPAMSWITCH="system"
+
+S="${WORKDIR}/${MY_P}"
+OPAMROOT="${D}"
+
+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
+}