From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/pomap: ChangeLog pomap-2.9.8.ebuild |
Date: | Fri, 04 Jan 2008 01:51:19 |
Message-Id: | E1JAbiK-0001Qx-Ar@stork.gentoo.org |
1 | aballier 08/01/04 01:51:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pomap-2.9.8.ebuild |
5 | Log: |
6 | version bump, allow to build without ocamlopt |
7 | (Portage version: 2.1.4_rc14) |
8 | |
9 | Revision Changes Path |
10 | 1.13 dev-ml/pomap/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pomap/ChangeLog?rev=1.13&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pomap/ChangeLog?rev=1.13&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pomap/ChangeLog?r1=1.12&r2=1.13 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/pomap/ChangeLog,v |
19 | retrieving revision 1.12 |
20 | retrieving revision 1.13 |
21 | diff -u -r1.12 -r1.13 |
22 | --- ChangeLog 9 Feb 2007 07:37:36 -0000 1.12 |
23 | +++ ChangeLog 4 Jan 2008 01:51:11 -0000 1.13 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-ml/pomap |
26 | -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/ChangeLog,v 1.12 2007/02/09 07:37:36 flameeyes Exp $ |
28 | +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/ChangeLog,v 1.13 2008/01/04 01:51:11 aballier Exp $ |
30 | + |
31 | +*pomap-2.9.8 (04 Jan 2008) |
32 | + |
33 | + 04 Jan 2008; Alexis Ballier <aballier@g.o> +pomap-2.9.8.ebuild: |
34 | + version bump, allow to build without ocamlopt |
35 | |
36 | 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog: |
37 | Regenerate digest in Manifest2 format. |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/pomap/pomap-2.9.8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pomap/pomap-2.9.8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/pomap/pomap-2.9.8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pomap-2.9.8.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/pomap/pomap-2.9.8.ebuild,v 1.1 2008/01/04 01:51:11 aballier Exp $ |
51 | |
52 | inherit findlib eutils |
53 | |
54 | EAPI="1" |
55 | |
56 | DESCRIPTION="Partially Ordered Map ADT for O'Caml" |
57 | HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html" |
58 | LICENSE="LGPL-2.1" |
59 | DEPEND=">=dev-lang/ocaml-3.06" |
60 | SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.bz2" |
61 | |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | IUSE="examples +ocamlopt" |
65 | |
66 | pkg_setup() { |
67 | if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
68 | eerror "In order to build ${PN} with native code support from ocaml" |
69 | eerror "You first need to have a native code ocaml compiler." |
70 | eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." |
71 | die "Please install ocaml with ocamlopt useflag" |
72 | fi |
73 | } |
74 | |
75 | src_compile() { |
76 | cd "${S}/lib" |
77 | emake -j1 byte-code-library || die "failed to build byte code library" |
78 | if use ocamlopt; then |
79 | emake -j1 native-code-library || die "failed to built nativde code library" |
80 | fi |
81 | } |
82 | |
83 | src_install () { |
84 | use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional" |
85 | findlib_src_install |
86 | |
87 | # install documentation |
88 | dodoc README VERSION Changes |
89 | |
90 | #install examples |
91 | if use examples; then |
92 | insinto /usr/share/doc/${PF} |
93 | doins -r examples |
94 | fi |
95 | } |
96 | |
97 | |
98 | |
99 | -- |
100 | gentoo-commits@g.o mailing list |