diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-04-23 14:15:04 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-04-23 14:15:04 +0000 |
commit | acc8d21b92d916a055505f717db721920e1c4ac6 (patch) | |
tree | d98e8c3a39b907eecfcf99f6586e192c901669a5 /dev-ml/react | |
parent | texlive-xetex needs latexextra, bug #307397 by Dragomir Penev <dragomir.penev... (diff) | |
download | historical-acc8d21b92d916a055505f717db721920e1c4ac6.tar.gz historical-acc8d21b92d916a055505f717db721920e1c4ac6.tar.bz2 historical-acc8d21b92d916a055505f717db721920e1c4ac6.zip |
version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/react')
-rw-r--r-- | dev-ml/react/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ml/react/react-0.9.1.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-ml/react/ChangeLog b/dev-ml/react/ChangeLog index 34a355c34173..31e0d73d79bc 100644 --- a/dev-ml/react/ChangeLog +++ b/dev-ml/react/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/react -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.2 2009/10/16 12:17:03 aballier Exp $ +# 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 $ + +*react-0.9.1 (23 Apr 2010) + + 23 Apr 2010; Alexis Ballier <aballier@gentoo.org> +react-0.9.1.ebuild: + version bump 16 Oct 2009; Alexis Ballier <aballier@gentoo.org> react-0.9.0.ebuild: keyword ~x86-fbsd diff --git a/dev-ml/react/react-0.9.1.ebuild b/dev-ml/react/react-0.9.1.ebuild new file mode 100644 index 000000000000..481682d6dce4 --- /dev/null +++ b/dev-ml/react/react-0.9.1.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.1.ebuild,v 1.1 2010/04/23 14:12:17 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/* +} |