From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/camlp5: camlp5-6.03.ebuild ChangeLog |
Date: | Tue, 10 Jan 2012 13:22:48 |
Message-Id: | 20120110132235.F0FC02004B@flycatcher.gentoo.org |
1 | aballier 12/01/10 13:22:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: camlp5-6.03.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.62 dev-ml/camlp5/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.62&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.62&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.61&r2=1.62 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v |
20 | retrieving revision 1.61 |
21 | retrieving revision 1.62 |
22 | diff -u -r1.61 -r1.62 |
23 | --- ChangeLog 18 Dec 2011 17:33:47 -0000 1.61 |
24 | +++ ChangeLog 10 Jan 2012 13:22:35 -0000 1.62 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ml/camlp5 |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.61 2011/12/18 17:33:47 armin76 Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.62 2012/01/10 13:22:35 aballier Exp $ |
31 | + |
32 | +*camlp5-6.03 (10 Jan 2012) |
33 | + |
34 | + 10 Jan 2012; Alexis Ballier <aballier@g.o> +camlp5-6.03.ebuild: |
35 | + version bump |
36 | |
37 | 18 Dec 2011; Raúl Porcel <armin76@g.o> camlp5-5.14.ebuild, |
38 | camlp5-6.02.3.ebuild, camlp5-6.02.3_p1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-ml/camlp5/camlp5-6.03.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/camlp5-6.03.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/camlp5-6.03.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: camlp5-6.03.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-6.03.ebuild,v 1.1 2012/01/10 13:22:35 aballier Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit multilib findlib eutils |
56 | |
57 | MY_P=${P%_p*} |
58 | DESCRIPTION="A preprocessor-pretty-printer of ocaml" |
59 | HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/" |
60 | SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${MY_P}.tgz" |
61 | |
62 | LICENSE="BSD" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
65 | IUSE="doc +ocamlopt" |
66 | |
67 | DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | PATCHLEVEL=${PV#*_p} |
71 | PATCHLIST="" |
72 | |
73 | if [ "${PATCHLEVEL}" != "${PV}" ] ; then |
74 | for i in $(seq 1 ${PATCHLEVEL}) ; do |
75 | SRC_URI="${SRC_URI} |
76 | http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch" |
77 | PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch" |
78 | done |
79 | fi |
80 | |
81 | S=${WORKDIR}/${MY_P} |
82 | |
83 | src_prepare() { |
84 | for i in ${PATCHLIST} ; do |
85 | epatch "${DISTDIR}/${i}" |
86 | done |
87 | } |
88 | |
89 | src_configure() { |
90 | ./configure \ |
91 | -prefix /usr \ |
92 | -bindir /usr/bin \ |
93 | -libdir /usr/$(get_libdir)/ocaml \ |
94 | -mandir /usr/share/man || die "configure failed" |
95 | } |
96 | |
97 | src_compile(){ |
98 | emake || die "emake failed" |
99 | if use ocamlopt; then |
100 | emake opt || die "Compiling native code programs failed" |
101 | emake opt.opt || die "Compiling native code programs failed" |
102 | fi |
103 | } |
104 | |
105 | src_install() { |
106 | emake DESTDIR="${D}" install || die "emake install failed" |
107 | # findlib support |
108 | insinto "$(ocamlfind printconf destdir)/${PN}" |
109 | doins etc/META || die "failed to install META file for findlib support" |
110 | |
111 | use doc && dohtml -r doc/* |
112 | |
113 | dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE |
114 | } |