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-6.14.ebuild
Date: Thu, 30 Jul 2015 18:57:25
Message-Id: 20150730185716.A2093110@oystercatcher.gentoo.org
1 aballier 15/07/30 18:57:16
2
3 Modified: ChangeLog
4 Added: camlp5-6.14.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.89 dev-ml/camlp5/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 18 Jun 2015 08:42:51 -0000 1.88
24 +++ ChangeLog 30 Jul 2015 18:57:16 -0000 1.89
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ml/camlp5
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.88 2015/06/18 08:42:51 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.89 2015/07/30 18:57:16 aballier Exp $
30 +
31 +*camlp5-6.14 (30 Jul 2015)
32 +
33 + 30 Jul 2015; Alexis Ballier <aballier@g.o> +camlp5-6.14.ebuild:
34 + version bump
35
36 18 Jun 2015; Alexis Ballier <aballier@g.o> -camlp5-6.11.ebuild:
37 remove old
38
39
40
41 1.1 dev-ml/camlp5/camlp5-6.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/camlp5-6.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp5/camlp5-6.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: camlp5-6.14.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-6.14.ebuild,v 1.1 2015/07/30 18:57:16 aballier Exp $
51
52 EAPI="5"
53
54 inherit multilib findlib eutils
55
56 MY_P=${P%_p*}
57 DESCRIPTION="A preprocessor-pretty-printer of ocaml"
58 HOMEPAGE="http://camlp5.gforge.inria.fr/"
59 SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
60
61 LICENSE="BSD"
62 SLOT="0/${PV}"
63 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
64 IUSE="doc +ocamlopt"
65
66 DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
67 RDEPEND="${DEPEND}"
68
69 PATCHLEVEL=${PV#*_p}
70 PATCHLIST=""
71
72 if [ "${PATCHLEVEL}" != "${PV}" ] ; then
73 for (( i=1; i<=PATCHLEVEL; i++ )) ; do
74 SRC_URI="${SRC_URI}
75 http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
76 PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
77 done
78 fi
79
80 S=${WORKDIR}/${MY_P}
81
82 src_prepare() {
83 for i in ${PATCHLIST} ; do
84 epatch "${DISTDIR}/${i}"
85 done
86 }
87
88 src_configure() {
89 ./configure \
90 --strict \
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 out
99 if use ocamlopt; then
100 emake opt
101 emake opt.opt
102 fi
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install
107 # findlib support
108 insinto "$(ocamlfind printconf destdir)/${PN}"
109 doins etc/META
110
111 use doc && dohtml -r doc/*
112
113 dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
114 }