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/camlp5: ChangeLog camlp5-5.10.ebuild
Date: Thu, 16 Oct 2008 14:35:12
Message-Id: E1KqTwS-0006CG-KS@stork.gentoo.org
1 aballier 08/10/16 14:35:08
2
3 Modified: ChangeLog
4 Added: camlp5-5.10.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26.6 x86_64)
8
9 Revision Changes Path
10 1.29 dev-ml/camlp5/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 25 Sep 2008 12:09:13 -0000 1.28
23 +++ ChangeLog 16 Oct 2008 14:35:08 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ml/camlp5
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.28 2008/09/25 12:09:13 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.29 2008/10/16 14:35:08 aballier Exp $
29 +
30 +*camlp5-5.10 (16 Oct 2008)
31 +
32 + 16 Oct 2008; Alexis Ballier <aballier@g.o> +camlp5-5.10.ebuild:
33 + version bump
34
35 25 Sep 2008; Alexis Ballier <aballier@g.o> camlp5-5.09.ebuild:
36 keyword ~x86-fbsd
37
38
39
40 1.1 dev-ml/camlp5/camlp5-5.10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: camlp5-5.10.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-5.10.ebuild,v 1.1 2008/10/16 14:35:08 aballier Exp $
50
51 EAPI="2"
52
53 inherit multilib findlib eutils
54
55 DESCRIPTION="A preprocessor-pretty-printer of ocaml"
56 HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/"
57 SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${P}.tgz"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
62 IUSE="doc +ocamlopt"
63
64 DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]"
65 RDEPEND="${DEPEND}"
66
67 src_configure() {
68 ./configure \
69 -prefix /usr \
70 -bindir /usr/bin \
71 -libdir /usr/$(get_libdir)/ocaml \
72 -mandir /usr/share/man || die "configure failed"
73 }
74
75 src_compile(){
76 emake -j1 || die "emake failed"
77 if use ocamlopt; then
78 emake -j1 opt || die "Compiling native code programs failed"
79 emake -j1 opt.opt || die "Compiling native code programs failed"
80 fi
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install || die "emake install failed"
85 # findlib support
86 insinto "$(ocamlfind printconf destdir)/${PN}"
87 doins etc/META || die "failed to install META file for findlib support"
88
89 use doc && dohtml -r doc/*
90
91 dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
92 }