Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/core: ChangeLog core-0.7.0_beta1.ebuild
Date: Thu, 24 Feb 2011 20:12:25
Message-Id: 20110224201210.8924A20054@flycatcher.gentoo.org
1 aballier 11/02/24 20:12:10
2
3 Modified: ChangeLog
4 Added: core-0.7.0_beta1.ebuild
5 Log:
6 Version bump by Vladimir Ivanov <v.ivanov@×××××.com>, bug #354689, with improvements by me
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 dev-ml/core/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/core/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/core/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/core/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/core/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 11 Nov 2010 20:09:18 -0000 1.2
24 +++ ChangeLog 24 Feb 2011 20:12:10 -0000 1.3
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ml/core
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/core/ChangeLog,v 1.2 2010/11/11 20:09:18 aballier Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/core/ChangeLog,v 1.3 2011/02/24 20:12:10 aballier Exp $
31 +
32 +*core-0.7.0_beta1 (24 Feb 2011)
33 +
34 + 24 Feb 2011; Alexis Ballier <aballier@g.o> +core-0.7.0_beta1.ebuild,
35 + +files/core-0.7.0_beta1-ocaml312.patch:
36 + Version bump by Vladimir Ivanov <v.ivanov@×××××.com>, bug #354689, with
37 + improvements by me
38
39 11 Nov 2010; Alexis Ballier <aballier@g.o> core-0.6.0.ebuild,
40 +files/core-0.6.0-ocaml312.patch:
41
42
43
44 1.1 dev-ml/core/core-0.7.0_beta1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/core/core-0.7.0_beta1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/core/core-0.7.0_beta1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: core-0.7.0_beta1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ml/core/core-0.7.0_beta1.ebuild,v 1.1 2011/02/24 20:12:10 aballier Exp $
54
55 EAPI="2"
56 inherit findlib eutils multilib
57
58 MY_P=${P/_/\~}
59 DESCRIPTION="Jane Street's alternative to the standard library"
60 HOMEPAGE="http://www.janestreet.com/ocaml"
61 SRC_URI="http://www.janestreet.com/ocaml/${MY_P}.tar.gz"
62
63 LICENSE="LGPL-2.1-linking-exception"
64 SLOT="0"
65 KEYWORDS="~amd64"
66 IUSE="debug +ocamlopt test"
67
68 RDEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]
69 dev-ml/res
70 >=dev-ml/sexplib-5.2.0
71 dev-ml/bin-prot
72 dev-ml/fieldslib"
73 DEPEND="${RDEPEND}
74 test? ( >=dev-ml/ounit-1.0.2 )"
75
76 S=${WORKDIR}/${PN}
77
78 oasis_use_enable() {
79 echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
80 }
81
82 src_prepare() {
83 has_version '>=dev-lang/ocaml-3.12' && epatch "${FILESDIR}/${P}-ocaml312.patch"
84 }
85
86 src_configure() {
87 ./configure --prefix usr \
88 --libdir /usr/$(get_libdir) \
89 --docdir /usr/share/doc/${PF}/html \
90 --destdir "${D}" \
91 $(oasis_use_enable debug debug) \
92 $(oasis_use_enable ocamlopt is_native) \
93 || die
94 }
95
96 src_test() {
97 LD_LIBRARY_PATH="${S}/_build/lib" emake test || die
98 }
99
100 src_install() {
101 findlib_src_install
102 dodoc README || die
103 }