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