From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/pcre-ocaml: ChangeLog pcre-ocaml-6.0.1.ebuild |
Date: | Sun, 21 Jun 2009 12:31:28 |
Message-Id: | E1MIMCj-0003DW-Vz@stork.gentoo.org |
1 | aballier 09/06/21 12:31:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pcre-ocaml-6.0.1.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.27 dev-ml/pcre-ocaml/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.27&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.27&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?r1=1.26&r2=1.27 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v |
19 | retrieving revision 1.26 |
20 | retrieving revision 1.27 |
21 | diff -u -r1.26 -r1.27 |
22 | --- ChangeLog 21 Jun 2009 12:16:14 -0000 1.26 |
23 | +++ ChangeLog 21 Jun 2009 12:31:25 -0000 1.27 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ml/pcre-ocaml |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.26 2009/06/21 12:16:14 aballier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.27 2009/06/21 12:31:25 aballier Exp $ |
29 | + |
30 | +*pcre-ocaml-6.0.1 (21 Jun 2009) |
31 | + |
32 | + 21 Jun 2009; Alexis Ballier <aballier@g.o> |
33 | + +pcre-ocaml-6.0.1.ebuild, +files/pcre-ocaml-6.0.1-linkopts.patch: |
34 | + version bump |
35 | |
36 | 21 Jun 2009; Alexis Ballier <aballier@g.o> |
37 | pcre-ocaml-5.15.0.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pcre-ocaml-6.0.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild,v 1.1 2009/06/21 12:31:25 aballier Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit findlib eutils |
55 | |
56 | DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml" |
57 | HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html" |
58 | SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz" |
59 | LICENSE="LGPL-2.1" |
60 | |
61 | RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] |
62 | >=dev-libs/libpcre-4.5" |
63 | DEPEND="${RDEPEND}" |
64 | SLOT="0" |
65 | IUSE="examples +ocamlopt" |
66 | KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
67 | |
68 | src_prepare() { |
69 | epatch "${FILESDIR}/${P}-linkopts.patch" |
70 | } |
71 | |
72 | src_compile() { |
73 | cd "${S}/lib" |
74 | emake byte-code-library || die "Failed to build byte code library" |
75 | if use ocamlopt; then |
76 | emake native-code-library || die "Failed to build native code library" |
77 | fi |
78 | } |
79 | |
80 | src_install () { |
81 | export OCAMLFIND_INSTFLAGS="-optional" |
82 | findlib_src_install |
83 | |
84 | # install documentation |
85 | dodoc README.txt Changelog |
86 | |
87 | if use examples; then |
88 | insinto /usr/share/doc/${PF} |
89 | doins -r examples |
90 | fi |
91 | } |