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.12.5.ebuild
Date: Fri, 09 Apr 2010 10:38:29
Message-Id: 20100409103825.9008B2C04A@corvid.gentoo.org
1 aballier 10/04/09 10:38:25
2
3 Modified: ChangeLog
4 Added: postgresql-ocaml-1.12.5.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.15 dev-ml/postgresql-ocaml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 24 Feb 2010 10:40:17 -0000 1.14
23 +++ ChangeLog 9 Apr 2010 10:38:25 -0000 1.15
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ml/postgresql-ocaml
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.14 2010/02/24 10:40:17 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.15 2010/04/09 10:38:25 aballier Exp $
29 +
30 +*postgresql-ocaml-1.12.5 (09 Apr 2010)
31 +
32 + 09 Apr 2010; Alexis Ballier <aballier@g.o>
33 + +postgresql-ocaml-1.12.5.ebuild:
34 + version bump
35
36 *postgresql-ocaml-1.12.4 (24 Feb 2010)
37
38
39
40
41 1.1 dev-ml/postgresql-ocaml/postgresql-ocaml-1.12.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.12.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.12.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: postgresql-ocaml-1.12.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.12.5.ebuild,v 1.1 2010/04/09 10:38:25 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 }