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