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-5.13.0.ebuild |
Date: | Tue, 05 Feb 2008 18:07:15 |
Message-Id: | E1JMSCB-00067z-E1@stork.gentoo.org |
1 | aballier 08/02/05 18:06:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pcre-ocaml-5.13.0.ebuild |
5 | Log: |
6 | version bump, bug #208883 |
7 | (Portage version: 2.1.4.1) |
8 | |
9 | Revision Changes Path |
10 | 1.16 dev-ml/pcre-ocaml/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 2 Jan 2008 21:57:28 -0000 1.15 |
23 | +++ ChangeLog 5 Feb 2008 18:06:58 -0000 1.16 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ml/pcre-ocaml |
26 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.15 2008/01/02 21:57:28 aballier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.16 2008/02/05 18:06:58 aballier Exp $ |
29 | + |
30 | +*pcre-ocaml-5.13.0 (05 Feb 2008) |
31 | + |
32 | + 05 Feb 2008; Alexis Ballier <aballier@g.o> |
33 | + +pcre-ocaml-5.13.0.ebuild: |
34 | + version bump, bug #208883 |
35 | |
36 | *pcre-ocaml-5.12.2 (02 Jan 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/pcre-ocaml/pcre-ocaml-5.13.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-5.13.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-5.13.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pcre-ocaml-5.13.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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-5.13.0.ebuild,v 1.1 2008/02/05 18:06:58 aballier Exp $ |
51 | |
52 | inherit findlib eutils |
53 | |
54 | EAPI="1" |
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.bz2" |
59 | LICENSE="LGPL-2.1" |
60 | |
61 | DEPEND=">=dev-lang/ocaml-3.07 |
62 | >=dev-libs/libpcre-4.5" |
63 | SLOT="0" |
64 | IUSE="examples +ocamlopt" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | |
67 | pkg_setup() { |
68 | if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
69 | eerror "In order to build ${PN} with native code support from ocaml" |
70 | eerror "You first need to have a native code ocaml compiler." |
71 | eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." |
72 | die "Please install ocaml with ocamlopt useflag" |
73 | fi |
74 | } |
75 | |
76 | src_compile() { |
77 | cd "${S}/lib" |
78 | emake byte-code-library || die "Failed to build byte code library" |
79 | if use ocamlopt; then |
80 | emake native-code-library || die "Failed to build native code library" |
81 | fi |
82 | } |
83 | |
84 | src_install () { |
85 | export OCAMLFIND_INSTFLAGS="-optional" |
86 | findlib_src_install |
87 | |
88 | # install documentation |
89 | dodoc README VERSION Changes |
90 | |
91 | if use examples; then |
92 | for dir in examples/* |
93 | do |
94 | docinto $dir |
95 | dodoc $dir/* |
96 | done |
97 | fi |
98 | } |
99 | |
100 | |
101 | |
102 | -- |
103 | gentoo-commits@l.g.o mailing list |