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