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