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/camlp4: ChangeLog camlp4-4.02.1_p3.ebuild
Date: Thu, 05 Mar 2015 17:46:15
Message-Id: 20150305174609.C7AE5131BA@oystercatcher.gentoo.org
1 aballier 15/03/05 17:46:09
2
3 Modified: ChangeLog
4 Added: camlp4-4.02.1_p3.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: aballier@g.o
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.6 dev-ml/camlp4/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp4/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp4/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp4/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 5 Mar 2015 17:30:58 -0000 1.5
25 +++ ChangeLog 5 Mar 2015 17:46:09 -0000 1.6
26 @@ -1,6 +1,11 @@
27 # ChangeLog for dev-ml/camlp4
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v 1.5 2015/03/05 17:30:58 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v 1.6 2015/03/05 17:46:09 aballier Exp $
31 +
32 +*camlp4-4.02.1_p3 (05 Mar 2015)
33 +
34 + 05 Mar 2015; Alexis Ballier <aballier@g.o> +camlp4-4.02.1_p3.ebuild:
35 + version bump
36
37 05 Mar 2015; Alexis Ballier <aballier@g.o> camlp4-4.02.1_p2.ebuild:
38 block old ocaml versions
39
40
41
42 1.1 dev-ml/camlp4/camlp4-4.02.1_p3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: camlp4-4.02.1_p3.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild,v 1.1 2015/03/05 17:46:09 aballier Exp $
52
53 EAPI=5
54
55 MY_PV=${PV/_p/+}
56 MY_P=${PN}-${MY_PV}
57
58 DESCRIPTION="System for writing extensible parsers for programming languages"
59 HOMEPAGE="https://github.com/ocaml/camlp4"
60 SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
61
62 LICENSE="LGPL-2-with-linking-exception"
63 SLOT="0/${PV}"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
65 IUSE="+ocamlopt"
66
67 DEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
68 RDEPEND="${DEPEND}
69 !<dev-lang/ocaml-4.02
70 !<dev-ml/findlib-1.5.5-r1"
71
72 S=${WORKDIR}/${P/_p/-}
73
74 src_configure() {
75 ./configure \
76 --bindir="${EPREFIX}/usr/bin" \
77 --libdir="$(ocamlc -where)" \
78 --pkgdir="$(ocamlc -where)" \
79 || die
80 }
81
82 src_compile() {
83 emake byte
84 use ocamlopt && emake native
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install install-META
89 dodoc CHANGES.md README.md
90 }