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