summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/js_of_ocaml')
-rw-r--r--dev-ml/js_of_ocaml/Manifest4
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild39
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild39
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild44
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild43
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild46
-rw-r--r--dev-ml/js_of_ocaml/metadata.xml12
7 files changed, 227 insertions, 0 deletions
diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest
new file mode 100644
index 00000000000..eb1a6b995b5
--- /dev/null
+++ b/dev-ml/js_of_ocaml/Manifest
@@ -0,0 +1,4 @@
+DIST js_of_ocaml-1.3.2.tar.gz 1901593 SHA256 5996d2a9bc32121186e1964af557bb411eb5a27aa155d2c6a8a144ee5f3d0c36 SHA512 83fe5818554d226d175ff3c876883a4837c015271681a73ef92b8d809134c6e5148d33d1eb7e3e71e0c3775627c26d0c246ffb183ff0c9a5736bd9b30ea6aedf WHIRLPOOL 0dc7232940df09913cb1b829cabc35817ca1eca1c4c3e2381f9f7f08d33d2e5cc973fde25576a7b04004860aa6cf193f206690ac6e681cb1e8cae4084675785b
+DIST js_of_ocaml-1.4.tar.gz 1906998 SHA256 56033c5b08e6db9f957d93f691641264c2bd5fb3624b9db5e0766d5c6a64d781 SHA512 6b7dc0bc48373e4930916213f87fb0e7a0283ea4ff91284c9708de9b1d60b9c6b576658ebd0c33b0b5ca28bad467bfabd17ed0910f22fef59b3cdf96089d4c83 WHIRLPOOL abc5ab718554fc0f3e97281620968b2943da539e2c39a894afbd99702da0f0fb8e322da69c78ab04ca61ae83fbc3bd5f9c69fb0ceec875c91bdfa6b15fbecae0
+DIST js_of_ocaml-2.5.tar.gz 1249680 SHA256 5bea34f47210791b8bb89adb158ec9d47816ba074bfb11ee68f56be42c0235df SHA512 5a69993dbb5e6dd763a1b43cf2fee7de7000c91e8cb473379445603a0592941dc9c67c7591f322dca1c7fedd8d3df2cd79e2a9716204b5642a9d2999de1db82d WHIRLPOOL fde0c0d553f3f8aaa220b705294ee7a366e6667ca9eb9a21e148082c36ea13f64f1f01616468fd0e8f5ab3a201c6d3a92ad2606a7eda54e1ddd22432c72b0dd3
+DIST js_of_ocaml-2.6.tar.gz 1291882 SHA256 c1f066d09524c6be2d40cfb387de49b337837dcc8f2f746a207f37706ca66460 SHA512 2c4e294b7946757d9b05ec640e130cbee6a0130c03eb3a2188988fb956c1f0e2738c32e97abc461e748e667e7d31e386c5470942df84ddbcf5903d41b133e8c8 WHIRLPOOL abf477caa49edc65b5e577a90dd86641f12b6757e6f2c9034fe08d51cc1ac11209b73e8fdd88de420ed0277d8715bb085c10d29b237854cdebb8a9e36f8e22fe
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild
new file mode 100644
index 00000000000..28b39b24a1a
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving-ocsigen"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.3.0:=
+ deriving-ocsigen? ( >=dev-ml/deriving-ocsigen-0.3:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving-ocsigen || echo "DERIVING :=" >> Makefile.conf
+ echo "BINDIR := ${ED}/usr/bin" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install
+ dodoc CHANGES README
+ use doc && dohtml -r doc/api-html
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild
new file mode 100644
index 00000000000..fdfa20c24b9
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving-ocsigen"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.3.0:=
+ deriving-ocsigen? ( >=dev-ml/deriving-ocsigen-0.3:= )
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving-ocsigen || echo "DERIVING :=" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README
+ use doc && dohtml -r doc/api-html
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild
new file mode 100644
index 00000000000..be810428a82
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.0:=
+ dev-ml/react:=
+ dev-ml/reactiveData:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild
new file mode 100644
index 00000000000..d35d0f4cb4d
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.0:=
+ dev-ml/react:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild
new file mode 100644
index 00000000000..04c22b5edb6
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.4:=
+ dev-ml/react:=
+ dev-ml/reactiveData:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ dev-ml/ocaml-base64:=
+ dev-ml/camlp4:=
+ dev-ml/cppo:=
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/metadata.xml b/dev-ml/js_of_ocaml/metadata.xml
new file mode 100644
index 00000000000..d26a1348f42
--- /dev/null
+++ b/dev-ml/js_of_ocaml/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <use>
+ <flag name="deriving-ocsigen">Enable deriving-ocsigen for improving the type safety.</flag>
+ <flag name="deriving">Enable <pkg>dev-ml/deriving</pkg> support for improving the type safety.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ocsigen/js_of_ocaml</remote-id>
+ </upstream>
+</pkgmetadata>