1 |
commit: 4e8107f630fdcbc8bba8c72fab6437313f77944a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 03:54:41 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 03:54:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e8107f6 |
7 |
|
8 |
dev-ml/camlp5: add 8.00.01 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-ml/camlp5/Manifest | 1 + |
13 |
dev-ml/camlp5/camlp5-8.00.01.ebuild | 58 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest |
17 |
index 59d7550ec11..a8818df9974 100644 |
18 |
--- a/dev-ml/camlp5/Manifest |
19 |
+++ b/dev-ml/camlp5/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST camlp5-7.11.tar.gz 878224 BLAKE2B f384764da43653a2f75664681a4f202ec84497720 |
21 |
DIST camlp5-7.12.tar.gz 1008350 BLAKE2B 8f390f6d617a6ef029462aa74ca4d80c0e2eb267bb6957aac43fdecc425aae34dfc7f3e572c8a1f4ee6b032dd90b3b8262094f80a19ea0bb19b80a88d22d3f28 SHA512 233d973b0a968a7812b977e8a37da8e8daa0f3ef81ca7c473d83c1602380dae6c14f94daffb6bb799f8d90fab121238a46e89a233202cd6f622b0da2f728c0c0 |
22 |
DIST camlp5-7.13.tar.gz 1031832 BLAKE2B 2afd7e269092d9c40f263e9ce92b3b9f66b0b3f0ae01da43e2094c6a919aa9f26790030f835b630547d51e7bb4a08e74ac8522e7f308864896fa0414370f8f2f SHA512 8ab94b951e6791be895c70e32b930e498229c9ba7bccc505a3e7c2a91ca12fe038b979b9d5822b43e9c74ee2bf552efa1af7a61f1d287100803efb540d5db8b2 |
23 |
DIST camlp5-7.14.tar.gz 1044110 BLAKE2B c9aa5be80df8d2c376fc41c157b2cd86658dbb90e1babd346b7681afd7453649c7f3682f95f238e51b74b3b3a7a2c5b5a854be892b30a7d1e3b62c3272f5442e SHA512 1b39949c532ca622b01a8e800aa1dcad34f1c944ffe580003642bd742dedc158f3ee54602f3b05f89c0e259525d7feed101b971ebd589449b6d56046389a5bf6 |
24 |
+DIST camlp5-8.00.01.tar.gz 1321790 BLAKE2B df4403af56cd07f8e07745bdb73f698ddba24803cde22f11cfbeda425d4360f51be45a92b3f522c52a204f867bb3403dacebf20bfe463f6fd751901102ef2213 SHA512 f40e57845ac4a14cf260ddd9df616d12df09f67efaf6735e915598aee981721e8203bf9203fb83d08e34e43021c08003de64dbf3bdcd4d12fd079542fb7649aa |
25 |
DIST camlp5-8.00.tar.gz 1321320 BLAKE2B 14957ea83e40f3e2f68c7cbbec1ab84325eba1057f38905a37f9516a99a009024ee0b463cf588880d23d94e710b027b835dd51153a429c8bda22be7fe95dc911 SHA512 6a0d19ced4d94cd3afebfbc373d344229c5faf088e8910dea32ed4dfa841dd9844c72849f8a6281e2bce55295665eae90391cf29d062a44b083761a9e04bce93 |
26 |
|
27 |
diff --git a/dev-ml/camlp5/camlp5-8.00.01.ebuild b/dev-ml/camlp5/camlp5-8.00.01.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..fe4e5ebe576 |
30 |
--- /dev/null |
31 |
+++ b/dev-ml/camlp5/camlp5-8.00.01.ebuild |
32 |
@@ -0,0 +1,58 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit findlib vcs-clean |
39 |
+ |
40 |
+DESCRIPTION="A preprocessor-pretty-printer of ocaml" |
41 |
+HOMEPAGE="https://camlp5.github.io/" |
42 |
+SRC_URI="https://github.com/camlp5/camlp5/archive/rel${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}-rel${PV}" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
48 |
+IUSE="doc +ocamlopt" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ >=dev-lang/ocaml-3.10:=[ocamlopt?] |
52 |
+" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ egit_clean |
57 |
+ default |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ ./configure \ |
62 |
+ --strict \ |
63 |
+ -prefix /usr \ |
64 |
+ -bindir /usr/bin \ |
65 |
+ -libdir /usr/$(get_libdir)/ocaml \ |
66 |
+ -mandir /usr/share/man || die "configure failed" |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ ulimit -s 11530000 |
71 |
+ emake out |
72 |
+ if use ocamlopt; then |
73 |
+ emake opt |
74 |
+ emake opt.opt |
75 |
+ fi |
76 |
+} |
77 |
+ |
78 |
+src_test() { |
79 |
+ emake bootstrap |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ emake DESTDIR="${ED}" install |
84 |
+ # findlib support |
85 |
+ insinto "$(ocamlfind printconf destdir)/${PN}" |
86 |
+ doins etc/META |
87 |
+ |
88 |
+ dodoc -r doc/* |
89 |
+ dodoc CHANGES DEVEL ICHANGES README.md UPGRADING MODE |
90 |
+} |