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