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