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.07.ebuild
Date: Wed, 02 Jan 2008 19:19:08
Message-Id: E1JA97E-000814-3K@stork.gentoo.org
1 aballier 08/01/02 19:19:00
2
3 Modified: ChangeLog
4 Added: camlp5-5.07.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.14 dev-ml/camlp5/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 2 Jan 2008 18:20:50 -0000 1.13
23 +++ ChangeLog 2 Jan 2008 19:18:59 -0000 1.14
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.13 2008/01/02 18:20:50 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.14 2008/01/02 19:18:59 aballier Exp $
29 +
30 +*camlp5-5.07 (02 Jan 2008)
31 +
32 + 02 Jan 2008; Alexis Ballier <aballier@g.o> +camlp5-5.07.ebuild:
33 + version bump
34
35 02 Jan 2008; Alexis Ballier <aballier@g.o> -camlp5-5.05.ebuild:
36 remove old
37
38
39
40 1.1 dev-ml/camlp5/camlp5-5.07.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.07.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.07.ebuild?rev=1.1&content-type=text/plain
44
45 Index: camlp5-5.07.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.07.ebuild,v 1.1 2008/01/02 19:18:59 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@g.o mailing list