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/res: ChangeLog res-3.2.0.ebuild
Date: Sun, 21 Jun 2009 12:01:02
Message-Id: E1MILjH-00010Y-RK@stork.gentoo.org
1 aballier 09/06/21 12:00:59
2
3 Modified: ChangeLog
4 Added: res-3.2.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 dev-ml/res/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/res/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/res/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/res/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/res/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 20 Jun 2009 17:26:41 -0000 1.9
23 +++ ChangeLog 21 Jun 2009 12:00:59 -0000 1.10
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ml/res
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/ChangeLog,v 1.9 2009/06/20 17:26:41 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/ChangeLog,v 1.10 2009/06/21 12:00:59 aballier Exp $
29 +
30 +*res-3.2.0 (21 Jun 2009)
31 +
32 + 21 Jun 2009; Alexis Ballier <aballier@g.o> +res-3.2.0.ebuild,
33 + +files/res-3.2.0-noocamlopt.patch:
34 + version bump
35
36 20 Jun 2009; Alexis Ballier <aballier@g.o> res-2.2.5.ebuild:
37 move eapi definition before inherit and assign rdepend explicitly
38
39
40
41 1.1 dev-ml/res/res-3.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/res/res-3.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/res/res-3.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: res-3.2.0.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/res/res-3.2.0.ebuild,v 1.1 2009/06/21 12:00:59 aballier Exp $
51
52 EAPI="2"
53
54 inherit findlib eutils
55
56 DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
57 HOMEPAGE="http://ocaml.info/home/ocaml_sources.html"
58 SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
59 LICENSE="LGPL-2.1"
60
61 DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
62 RDEPEND="${DEPEND}"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="doc examples +ocamlopt"
66
67 src_prepare() {
68 epatch "${FILESDIR}/${P}-noocamlopt.patch"
69 }
70
71 src_compile() {
72 cd "${S}/lib"
73 emake -j1 byte-code-library || die "failed to build byte code library"
74 if use ocamlopt; then
75 emake -j1 native-code-library || die "failed to built nativde code library"
76 fi
77
78 if use doc; then
79 emake htdoc || die "failed to build documentation"
80 fi
81 }
82
83 src_install () {
84 cd "${S}/lib"
85 findlib_src_preinst
86 if use ocamlopt; then
87 emake DESTDIR="${D}" libinstall || die
88 else
89 emake DESTDIR="${D}" libinstall-byte-code || die
90 fi
91
92 cd "${S}"
93 # install documentation
94 dodoc TODO README.txt Changelog
95
96 if use doc; then
97 dohtml lib/doc/res/html/*
98 fi
99 if use examples; then
100 insinto /usr/share/doc/${PF}
101 doins -r examples
102 fi
103 }