1 |
commit: 4594915fe791e5cfa38409d96671af796ecd348e |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 16:26:00 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 16:26:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4594915f |
7 |
|
8 |
dev-ml/menhir: bump to 20170101 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-ml/menhir/Manifest | 1 + |
13 |
dev-ml/menhir/menhir-20170101.ebuild | 37 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest |
17 |
index 26b33ab..a890f66 100644 |
18 |
--- a/dev-ml/menhir/Manifest |
19 |
+++ b/dev-ml/menhir/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST menhir-20161115.tar.gz 737035 SHA256 f31037f904c863b241bd90dd4ba6cd8f5ea86255477c13a2f7d0e02724ab16c9 SHA512 f17e6f3088e2af5b8e1d010dcd2608c932620e2206833f91c34209fbacc19de6ee17a45ed550fbccdab914779f37b34487f4620a5c66ab82c449238f0b67c7c0 WHIRLPOOL 6e55ead5c99810f5452d1b922bfc9694eba292503035eb39e1a4fa6e7a81ee2673322552c995eeb01a1784e7f284ee1aae3b4cd938a0c0b73c70630c7aa96a7f |
22 |
+DIST menhir-20170101.tar.gz 738131 SHA256 99696f365511e0440c18d295b7073a13886c5b594e1875f5967ad897a2216a46 SHA512 810d9863873519b9052464e522894579ffd2f9685851ba32c34cf772570710e7dde2a4629ab6407c2404d2587132488aeebed97db2dad1a456e28104c230bbac WHIRLPOOL 427cb187e5b57f51fe57df519f1732a4f827d0090705e70feecfe62f06e94a95d5e8c5e4b7b9e31f1c199f7c7f7dcfd6f48a3d29d0c8f66548761d85f1c64514 |
23 |
|
24 |
diff --git a/dev-ml/menhir/menhir-20170101.ebuild b/dev-ml/menhir/menhir-20170101.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..e9fc762 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/menhir/menhir-20170101.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit findlib eutils |
37 |
+ |
38 |
+DESCRIPTION="LR(1) parser generator for the OCaml language" |
39 |
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/" |
40 |
+SRC_URI="http://gallium.inria.fr/~fpottier/menhir/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="QPL-1.0 LGPL-2-with-linking-exception" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="examples +ocamlopt" |
46 |
+ |
47 |
+RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ dev-ml/ocamlbuild" |
50 |
+ |
51 |
+src_configure() { |
52 |
+ if ! use ocamlopt ; then |
53 |
+ export TARGET=byte |
54 |
+ fi |
55 |
+} |
56 |
+ |
57 |
+src_compile() { |
58 |
+ emake PREFIX="${EPREFIX}"/usr -j1 |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ findlib_src_preinst |
63 |
+ emake PREFIX="${ED}"/usr docdir="${ED}"/usr/share/doc/"${PF}" $(use examples || echo "DOCS=manual.pdf") install |
64 |
+ use examples && docompress -x /usr/share/doc/${PF}/demos |
65 |
+ dodoc AUTHORS CHANGES |
66 |
+} |