summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-22 09:50:47 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-22 10:19:57 +0100
commit4a1309627309555e384d5cb833f7ff00e87a7008 (patch)
tree9f4f1d2f9152d18ad288f98d03ee840235fc6b37 /dev-ml
parentdev-ml/sexplib: bump to 113.33.00 (diff)
downloadgentoo-4a1309627309555e384d5cb833f7ff00e87a7008.tar.gz
gentoo-4a1309627309555e384d5cb833f7ff00e87a7008.tar.bz2
gentoo-4a1309627309555e384d5cb833f7ff00e87a7008.zip
dev-ml/re2: bump to 113.33.00
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/re2/Manifest1
-rw-r--r--dev-ml/re2/re2-113.33.00.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ml/re2/Manifest b/dev-ml/re2/Manifest
index bb56526db066..8898c29c8b46 100644
--- a/dev-ml/re2/Manifest
+++ b/dev-ml/re2/Manifest
@@ -1 +1,2 @@
DIST re2-113.24.00.tar.gz 440822 SHA256 3a58ab7fd0a5385ead5ed7dbe1b6511200bebac9cdb343fb8bead8472ea593cf SHA512 5d8519f778ffcdddfe8a56ef8949d763f511d07c875d4237448b6f560a8e18decd6b5f45680d07bdf86a9ac01e08af187f191ca76cf23df99e555afb7073c22d WHIRLPOOL 336eeb006adf4b0a145baa4de49c4c8e324f5a7c4a958a6e099af5ccffa5243e1a8b228dbed8418036d570093b2f196069963a03ede3e5b58632b46d7119aa58
+DIST re2-113.33.00.tar.gz 440555 SHA256 e5d097e8ad18e62236e71b4606daa55f3a4885b7bc50a9ddb0a53cac91822f45 SHA512 52a10754c39c19f878a79cf962246e0a0b235c73bf0c94929396ad8a9fd55efc598601a1325823caa2cdbbf930e4476d9a5dfc837fbd1ebc00f3b3ee29c66ab9 WHIRLPOOL dd8d12c887b0136720d81701f449bbdd3d8283251f12c13f890542cb438829bb6320deb03dfa79f2c6dc67f99e0eafe9f730bb5afc7408a2505d9c205b71ee7f
diff --git a/dev-ml/re2/re2-113.33.00.ebuild b/dev-ml/re2/re2-113.33.00.ebuild
new file mode 100644
index 000000000000..13ddc93e5a15
--- /dev/null
+++ b/dev-ml/re2/re2-113.33.00.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-ml/bin-prot:=
+ dev-ml/core_kernel:=
+ dev-ml/fieldslib:=
+ dev-ml/ppx_assert:=
+ dev-ml/ppx_bench:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_expect:=
+ dev-ml/ppx_inline_test:=
+ dev-ml/ppx_jane:=
+ dev-ml/sexplib:=
+ dev-ml/typerep:=
+ dev-ml/variantslib:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam"
+
+src_configure() {
+ emake setup.exe
+ OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc CHANGES.md
+}