From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/react: ChangeLog react-0.9.1.ebuild |
Date: | Fri, 23 Apr 2010 14:12:22 |
Message-Id: | 20100423141218.05AEC317E1@corvid.gentoo.org |
1 | aballier 10/04/23 14:12:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: react-0.9.1.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.3 dev-ml/react/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/react/ChangeLog?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/react/ChangeLog?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/react/ChangeLog?r1=1.2&r2=1.3 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- ChangeLog 16 Oct 2009 12:17:03 -0000 1.2 |
23 | +++ ChangeLog 23 Apr 2010 14:12:17 -0000 1.3 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-ml/react |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.2 2009/10/16 12:17:03 aballier Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/react/ChangeLog,v 1.3 2010/04/23 14:12:17 aballier Exp $ |
30 | + |
31 | +*react-0.9.1 (23 Apr 2010) |
32 | + |
33 | + 23 Apr 2010; Alexis Ballier <aballier@g.o> +react-0.9.1.ebuild: |
34 | + version bump |
35 | |
36 | 16 Oct 2009; Alexis Ballier <aballier@g.o> react-0.9.0.ebuild: |
37 | keyword ~x86-fbsd |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/react/react-0.9.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/react/react-0.9.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/react/react-0.9.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: react-0.9.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/react/react-0.9.1.ebuild,v 1.1 2010/04/23 14:12:17 aballier Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | DESCRIPTION="OCaml module for functional reactive programming" |
55 | HOMEPAGE="http://erratique.ch/software/react" |
56 | SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz" |
57 | |
58 | LICENSE="BSD" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
61 | IUSE="+ocamlopt doc" |
62 | |
63 | DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]" |
64 | RDEPEND="${DEPEND}" |
65 | |
66 | src_prepare() { |
67 | chmod +x build |
68 | } |
69 | |
70 | src_compile() { |
71 | ./build module-byte || die "bytecode failed" |
72 | if use ocamlopt ; then |
73 | ./build module-native || die "native code failed" |
74 | fi |
75 | if use doc ; then |
76 | ./build doc || die "doc building failed" |
77 | fi |
78 | } |
79 | |
80 | src_test() { |
81 | ./build test.byte || die |
82 | ./test.byte || die |
83 | if use ocamlopt ; then |
84 | ./build test.native || die |
85 | ./test.native || die |
86 | fi |
87 | } |
88 | |
89 | src_install() { |
90 | export INSTALLDIR=${D}/`ocamlc -where`/${PN} |
91 | if use ocamlopt ; then |
92 | ./build install || die "install failed" |
93 | else |
94 | ./build install-byte || die "install failed" |
95 | fi |
96 | |
97 | dodoc CHANGES README |
98 | use doc && dohtml doc/* |
99 | } |