Gentoo Archives: gentoo-commits

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