summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/react/ChangeLog7
-rw-r--r--dev-ml/react/react-0.9.2.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-ml/react/ChangeLog b/dev-ml/react/ChangeLog
index 31e0d73d79bc..4e958a1b6f6b 100644
--- a/dev-ml/react/ChangeLog
+++ b/dev-ml/react/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/react
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.3 2010/04/23 14:12:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.4 2010/06/20 12:33:11 aballier Exp $
+
+*react-0.9.2 (20 Jun 2010)
+
+ 20 Jun 2010; Alexis Ballier <aballier@gentoo.org> +react-0.9.2.ebuild:
+ version bump
*react-0.9.1 (23 Apr 2010)
diff --git a/dev-ml/react/react-0.9.2.ebuild b/dev-ml/react/react-0.9.2.ebuild
new file mode 100644
index 000000000000..e558ffd2c456
--- /dev/null
+++ b/dev-ml/react/react-0.9.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/react-0.9.2.ebuild,v 1.1 2010/06/20 12:33:11 aballier Exp $
+
+EAPI="2"
+
+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"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="+ocamlopt doc"
+
+DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ chmod +x build
+}
+
+src_compile() {
+ ./build module-byte || die "bytecode failed"
+ if use ocamlopt ; then
+ ./build module-native || die "native code failed"
+ fi
+ if use doc ; then
+ ./build doc || die "doc building failed"
+ fi
+}
+
+src_test() {
+ ./build test.byte || die
+ ./test.byte || die
+ if use ocamlopt ; then
+ ./build test.native || die
+ ./test.native || die
+ fi
+}
+
+src_install() {
+ export INSTALLDIR=${D}/`ocamlc -where`/${PN}
+ if use ocamlopt ; then
+ ./build install || die "install failed"
+ else
+ ./build install-byte || die "install failed"
+ fi
+
+ dodoc CHANGES README
+ use doc && dohtml doc/*
+}