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.2.4.ebuild |
Date: | Sat, 31 Dec 2011 11:30:37 |
Message-Id: | 20111231113027.990252004B@flycatcher.gentoo.org |
1 | aballier 11/12/31 11:30:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pcre-ocaml-6.2.4.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.41 dev-ml/pcre-ocaml/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.41&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.41&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?r1=1.40&r2=1.41 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v |
20 | retrieving revision 1.40 |
21 | retrieving revision 1.41 |
22 | diff -u -r1.40 -r1.41 |
23 | --- ChangeLog 7 Dec 2011 13:20:42 -0000 1.40 |
24 | +++ ChangeLog 31 Dec 2011 11:30:27 -0000 1.41 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ml/pcre-ocaml |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.40 2011/12/07 13:20:42 aballier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.41 2011/12/31 11:30:27 aballier Exp $ |
30 | + |
31 | +*pcre-ocaml-6.2.4 (31 Dec 2011) |
32 | + |
33 | + 31 Dec 2011; Alexis Ballier <aballier@g.o> +pcre-ocaml-6.2.4.ebuild: |
34 | + version bump |
35 | |
36 | *pcre-ocaml-6.2.3 (07 Dec 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/pcre-ocaml/pcre-ocaml-6.2.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.2.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.2.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pcre-ocaml-6.2.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 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.2.4.ebuild,v 1.1 2011/12/31 11:30:27 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}/${PN}-6.0.1-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 | } |