From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/postgresql-ocaml: ChangeLog postgresql-ocaml-1.14.0.ebuild |
Date: | Sat, 01 Jan 2011 22:09:43 |
Message-Id: | 20110101220933.09A8E20054@flycatcher.gentoo.org |
1 | aballier 11/01/01 22:09:32 |
2 | |
3 | Modified: ChangeLog |
4 | Added: postgresql-ocaml-1.14.0.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha11/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.20 dev-ml/postgresql-ocaml/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.20&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.20&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?r1=1.19&r2=1.20 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v |
20 | retrieving revision 1.19 |
21 | retrieving revision 1.20 |
22 | diff -u -r1.19 -r1.20 |
23 | --- ChangeLog 16 Dec 2010 21:46:33 -0000 1.19 |
24 | +++ ChangeLog 1 Jan 2011 22:09:32 -0000 1.20 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-ml/postgresql-ocaml |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.19 2010/12/16 21:46:33 aballier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.20 2011/01/01 22:09:32 aballier Exp $ |
31 | + |
32 | +*postgresql-ocaml-1.14.0 (01 Jan 2011) |
33 | + |
34 | + 01 Jan 2011; Alexis Ballier <aballier@g.o> |
35 | + +postgresql-ocaml-1.14.0.ebuild: |
36 | + version bump |
37 | |
38 | *postgresql-ocaml-1.13.1 (16 Dec 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 dev-ml/postgresql-ocaml/postgresql-ocaml-1.14.0.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.14.0.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.14.0.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: postgresql-ocaml-1.14.0.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.14.0.ebuild,v 1.1 2011/01/01 22:09:32 aballier Exp $ |
53 | |
54 | EAPI="2" |
55 | |
56 | inherit findlib eutils |
57 | |
58 | IUSE="examples +ocamlopt" |
59 | |
60 | DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases." |
61 | SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.gz" |
62 | HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#toc9" |
63 | |
64 | DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?] |
65 | dev-db/postgresql-base |
66 | dev-db/postgresql-server" |
67 | RDEPEND="${DEPEND}" |
68 | |
69 | SLOT="0" |
70 | LICENSE="LGPL-2" |
71 | KEYWORDS="~amd64 ~ppc ~x86" |
72 | |
73 | src_compile() { |
74 | cd "${S}/lib" |
75 | emake -j1 byte-code-library || die "failed to build byte code library" |
76 | if use ocamlopt; then |
77 | emake -j1 native-code-library || die "failed to built nativde code library" |
78 | fi |
79 | } |
80 | |
81 | src_install () { |
82 | use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional" |
83 | findlib_src_preinst |
84 | emake DESTDIR="${D}" install || die |
85 | dodoc AUTHORS Changelog README.txt |
86 | |
87 | if use examples; then |
88 | insinto /usr/share/doc/${PF} |
89 | doins -r examples |
90 | fi |
91 | } |