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