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/ocaml-sqlite3: ChangeLog ocaml-sqlite3-1.5.1.ebuild
Date: Sun, 21 Jun 2009 12:14:26
Message-Id: E1MILwG-0001YF-9R@stork.gentoo.org
1 aballier 09/06/21 12:14:24
2
3 Modified: ChangeLog
4 Added: ocaml-sqlite3-1.5.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 dev-ml/ocaml-sqlite3/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 21 Jun 2009 12:03:40 -0000 1.11
23 +++ ChangeLog 21 Jun 2009 12:14:24 -0000 1.12
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ml/ocaml-sqlite3
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.11 2009/06/21 12:03:40 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.12 2009/06/21 12:14:24 aballier Exp $
29 +
30 +*ocaml-sqlite3-1.5.1 (21 Jun 2009)
31 +
32 + 21 Jun 2009; Alexis Ballier <aballier@g.o>
33 + +ocaml-sqlite3-1.5.1.ebuild, +files/ocaml-sqlite3-1.5.1-werror.patch:
34 + version bump
35
36 21 Jun 2009; Alexis Ballier <aballier@g.o>
37 ocaml-sqlite3-1.2.0.ebuild:
38
39
40
41 1.1 dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ocaml-sqlite3-1.5.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/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild,v 1.1 2009/06/21 12:14:24 aballier Exp $
51
52 EAPI="2"
53
54 inherit findlib eutils
55
56 IUSE="doc +ocamlopt"
57
58 DESCRIPTION="A package for ocaml that provides access to SQLite databases."
59 SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.gz"
60 HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3"
61
62 DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]
63 >=dev-db/sqlite-3.3.3"
64
65 RDEPEND="${DEPEND}"
66
67 SLOT="0"
68 LICENSE="MIT"
69 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
70
71 src_prepare() {
72 epatch "${FILESDIR}/${PN}-0.22.0-destdir.patch"
73 epatch "${FILESDIR}/${PN}-0.23.0-noocamlopt.patch"
74 epatch "${FILESDIR}/${PN}-1.5.1-werror.patch"
75 }
76
77 src_compile() {
78 emake -j1 bytecode || die "make bytecode failed"
79 if use ocamlopt; then
80 emake -j1 opt || die "make opt failed"
81 fi
82 if use doc; then
83 emake -j1 docs || die "make doc failed"
84 fi
85 }
86
87 src_install() {
88 findlib_src_preinst
89 export OCAMLPATH="${OCAMLFIND_DESTDIR}"
90 emake DESTDIR="${D}" install || die "make install failed"
91 dodoc Changelog README.txt TODO
92 use doc && dohtml doc/*
93 }