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.09.ebuild
Date: Wed, 02 Jul 2008 20:57:33
Message-Id: E1KE9OJ-0007Wq-Pe@stork.gentoo.org
1 aballier 08/07/02 20:57:27
2
3 Modified: ChangeLog
4 Added: camlp5-5.09.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
8
9 Revision Changes Path
10 1.22 dev-ml/camlp5/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 8 Apr 2008 13:20:50 -0000 1.21
23 +++ ChangeLog 2 Jul 2008 20:57:27 -0000 1.22
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.21 2008/04/08 13:20:50 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.22 2008/07/02 20:57:27 aballier Exp $
29 +
30 +*camlp5-5.09 (02 Jul 2008)
31 +
32 + 02 Jul 2008; Alexis Ballier <aballier@g.o> +camlp5-5.09.ebuild:
33 + version bump
34
35 08 Apr 2008; Raúl Porcel <armin76@g.o> camlp5-5.08.ebuild:
36 sparc stable wrt #215736
37
38
39
40 1.1 dev-ml/camlp5/camlp5-5.09.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.09.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.09.ebuild?rev=1.1&content-type=text/plain
44
45 Index: camlp5-5.09.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.09.ebuild,v 1.1 2008/07/02 20:57:27 aballier Exp $
50
51 inherit multilib findlib eutils
52
53 EAPI="1"
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"
62 IUSE="doc +ocamlopt"
63
64 DEPEND=">=dev-lang/ocaml-3.09"
65 RDEPEND="${DEPEND}"
66
67 pkg_setup() {
68 if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
69 eerror "In order to build ${PN} with native code support from ocaml"
70 eerror "You first need to have a native code ocaml compiler."
71 eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
72 die "Please install ocaml with ocamlopt useflag"
73 fi
74 }
75
76 src_compile() {
77 ./configure \
78 -prefix /usr \
79 -bindir /usr/bin \
80 -libdir /usr/$(get_libdir)/ocaml \
81 -mandir /usr/share/man || die "configure failed"
82
83 emake -j1 || die "emake failed"
84 if use ocamlopt; then
85 emake -j1 opt || die "Compiling native code programs failed"
86 emake -j1 opt.opt || die "Compiling native code programs failed"
87 fi
88
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93 # findlib support
94 insinto "$(ocamlfind printconf destdir)/${PN}"
95 doins etc/META || die "failed to install META file for findlib support"
96
97 use doc && dohtml -r doc/*
98
99 dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
100 }
101
102
103
104 --
105 gentoo-commits@l.g.o mailing list