summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-10-29 09:23:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-10-29 09:23:44 +0000
commit196d782ad8a0c96b773a63a0b361e4c346ff55e4 (patch)
treec85497f29c7446497c2fe0efa412687276512634
parentStable for sparc, wrt bug #525266 (diff)
downloadgentoo-2-196d782ad8a0c96b773a63a0b361e4c346ff55e4.tar.gz
gentoo-2-196d782ad8a0c96b773a63a0b361e4c346ff55e4.tar.bz2
gentoo-2-196d782ad8a0c96b773a63a0b361e4c346ff55e4.zip
version bump
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r--dev-ml/react/ChangeLog9
-rw-r--r--dev-ml/react/react-1.2.0.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-ml/react/ChangeLog b/dev-ml/react/ChangeLog
index 601d9d0f977e..2817c87189e7 100644
--- a/dev-ml/react/ChangeLog
+++ b/dev-ml/react/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/react
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.12 2013/03/03 14:36:06 aballier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.13 2014/10/29 09:23:44 aballier Exp $
+
+*react-1.2.0 (29 Oct 2014)
+
+ 29 Oct 2014; Alexis Ballier <aballier@gentoo.org> +react-1.2.0.ebuild:
+ version bump
03 Mar 2013; Alexis Ballier <aballier@gentoo.org> react-0.9.4.ebuild:
eapi5 and define subslot
diff --git a/dev-ml/react/react-1.2.0.ebuild b/dev-ml/react/react-1.2.0.ebuild
new file mode 100644
index 000000000000..a023f7185e1b
--- /dev/null
+++ b/dev-ml/react/react-1.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/react-1.2.0.ebuild,v 1.1 2014/10/29 09:23:44 aballier Exp $
+
+EAPI="5"
+
+DESCRIPTION="OCaml module for functional reactive programming"
+HOMEPAGE="http://erratique.ch/software/react"
+SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86-fbsd"
+IUSE="doc +ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/opam
+"
+
+src_compile() {
+ pkg/build.ml \
+ native=$(usex ocamlopt true false) \
+ native-dynlink=$(usex ocamlopt true false) \
+ || die
+}
+
+src_test() {
+ if use ocamlopt ; then
+ ocamlbuild tests.otarget || die
+ cd _build/test || die
+ ./test.native || die
+ else
+ ewarn "Sorry, ${PN} tests require native support (ocamlopt)"
+ fi
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ || die
+ dodoc CHANGES.md README.md TODO.md
+ use doc && dohtml doc/*
+}