summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-01 16:14:28 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-02 10:37:43 +0200
commit7d0c0e53fdc5254e8ff7475ae2e9cc09f5894bf5 (patch)
tree9f164bb40f603d583f9c89288e67f5687acd754a /dev-ml/jbuilder
parentdev-lang/ocaml: remove shadowed version (diff)
downloadgentoo-7d0c0e53fdc5254e8ff7475ae2e9cc09f5894bf5.tar.gz
gentoo-7d0c0e53fdc5254e8ff7475ae2e9cc09f5894bf5.tar.bz2
gentoo-7d0c0e53fdc5254e8ff7475ae2e9cc09f5894bf5.zip
dev-ml/jbuilder: Bump to 1.0 beta6(
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_beta6.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/jbuilder/Manifest b/dev-ml/jbuilder/Manifest
index 659506cab347..751098fead6d 100644
--- a/dev-ml/jbuilder/Manifest
+++ b/dev-ml/jbuilder/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ml/jbuilder/jbuilder-1.0_beta6.ebuild b/dev-ml/jbuilder/jbuilder-1.0_beta6.ebuild
new file mode 100644
index 000000000000..5e8e846f347c
--- /dev/null
+++ b/dev-ml/jbuilder/jbuilder-1.0_beta6.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"
+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
+}