1 |
commit: 0c350e0bb3b4439f94d6e7666c3a3841bacd50e3 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 19:17:07 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 19:17:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c350e0b |
7 |
|
8 |
dev-ml/camlp4: bump to 4.03 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ml/camlp4/Manifest | 1 + |
14 |
dev-ml/camlp4/camlp4-4.03_p1.ebuild | 44 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest |
18 |
index 487f327..5431eba 100644 |
19 |
--- a/dev-ml/camlp4/Manifest |
20 |
+++ b/dev-ml/camlp4/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST camlp4-4.02.1_p3.tar.gz 646389 SHA256 c28058b20016dac51d492b1a98e6453d2c7097100542c99a0593cc240a3eeada SHA512 59d196be0bb7410ffd48a3d2debff4502ca58e7b032027b27b9d126381c02336f177a47585a7d7a3142049930c21dbe075068852e6369fe7e8a58e3339d96041 WHIRLPOOL bedcbaa86a1282bed6d51a64b1877575e727cbf2485abf38bcbed49b18cbad9e8548e0fb413daf216f3d78fde2710c95de49a5055cbb3548eb284515148a3e7d |
23 |
+DIST camlp4-4.03_p1.tar.gz 648030 SHA256 6eefeacced81cca59ddf90c2538505fd5cd6596a3fc1acf4971e9796c2e7f2ae SHA512 0a329e18deffebb5245415f822f91e692076fca4dbe38748f18e72f417ce7354faed744fdff25f9976659192cb02d56ceb2cf1be5c64da463413ec4a28a9d3ac WHIRLPOOL a9aa6ff12957025ab796b02eec2268d51f71ebd64d395b0b5cad2d9d8bde91da4129f4f6606514c0e1b9480cf2e648158b0bdd6878ee29c3adadee64937bc87d |
24 |
|
25 |
diff --git a/dev-ml/camlp4/camlp4-4.03_p1.ebuild b/dev-ml/camlp4/camlp4-4.03_p1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..2c3483f |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/camlp4/camlp4-4.03_p1.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+MY_PV=${PV/_p/+} |
38 |
+MY_P=${PN}-${MY_PV} |
39 |
+ |
40 |
+DESCRIPTION="System for writing extensible parsers for programming languages" |
41 |
+HOMEPAGE="https://github.com/ocaml/camlp4" |
42 |
+SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="LGPL-2-with-linking-exception" |
45 |
+SLOT="0/${PV}" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
47 |
+IUSE="+ocamlopt" |
48 |
+ |
49 |
+DEPEND=">=dev-lang/ocaml-4.03_beta:=[ocamlopt?]" |
50 |
+RDEPEND="${DEPEND} |
51 |
+ !<dev-lang/ocaml-4.02 |
52 |
+ !<dev-ml/findlib-1.5.5-r1" |
53 |
+DEPEND="${DEPEND} |
54 |
+ || ( dev-ml/ocamlbuild <dev-lang/ocaml-4.02.3-r1 )" |
55 |
+ |
56 |
+S=${WORKDIR}/${P/_p/-} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ ./configure \ |
60 |
+ --bindir="${EPREFIX}/usr/bin" \ |
61 |
+ --libdir="$(ocamlc -where)" \ |
62 |
+ --pkgdir="$(ocamlc -where)" \ |
63 |
+ || die |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ emake byte |
68 |
+ use ocamlopt && emake native |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ emake DESTDIR="${D}" install install-META |
73 |
+ dodoc CHANGES.md README.md |
74 |
+} |