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