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.17.0.ebuild
Date: Sat, 31 Dec 2011 11:33:09
Message-Id: 20111231113300.0DC872004B@flycatcher.gentoo.org
1 aballier 11/12/31 11:33:00
2
3 Modified: ChangeLog
4 Added: postgresql-ocaml-1.17.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.25 dev-ml/postgresql-ocaml/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 24 Jul 2011 16:08:09 -0000 1.24
24 +++ ChangeLog 31 Dec 2011 11:32:59 -0000 1.25
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ml/postgresql-ocaml
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.24 2011/07/24 16:08:09 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.25 2011/12/31 11:32:59 aballier Exp $
30 +
31 +*postgresql-ocaml-1.17.0 (31 Dec 2011)
32 +
33 + 31 Dec 2011; Alexis Ballier <aballier@g.o>
34 + +postgresql-ocaml-1.17.0.ebuild:
35 + version bump
36
37 24 Jul 2011; Alexis Ballier <aballier@g.o>
38 -postgresql-ocaml-1.4.6.ebuild, -postgresql-ocaml-1.14.0.ebuild:
39
40
41
42 1.1 dev-ml/postgresql-ocaml/postgresql-ocaml-1.17.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.17.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.17.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: postgresql-ocaml-1.17.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.17.0.ebuild,v 1.1 2011/12/31 11:32:59 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 dev-db/postgresql-base
65 dev-db/postgresql-server"
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 }