1 |
commit: 30d027ce0540ec121af283520e545d30b3513ea4 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 11:05:26 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 12:24:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d027ce |
7 |
|
8 |
dev-ml/extlib: bump to 1.7.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/extlib/Manifest | 1 + |
13 |
dev-ml/extlib/extlib-1.7.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest |
17 |
index 05bd833f690..089f83d6132 100644 |
18 |
--- a/dev-ml/extlib/Manifest |
19 |
+++ b/dev-ml/extlib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST extlib-1.7.1.tar.gz 85397 SHA256 872a492be08bb99ddac7512ec190625718359458b79cfc710f40d5a967f628eb SHA512 42ea1be22a57ab31e5857df0c4c0f98a07e1b5958b34181cd5ab7c83ded112c208315d22cd3dd178d53e75ca109a70cb47ae479e95be8c47ea2087b1a158dc4d WHIRLPOOL 70be2855559fdf217ffb392ad47a2b0d3ec22467a5fcfe48158b85b64f64051cf43c8ae585949ccacdc7f6e257b26523fd91942bffd5c4b28a73a5c4566145fc |
22 |
+DIST extlib-1.7.2.tar.gz 85934 SHA256 00fa8ad0990e75b94902ef013ba5ec9cc51532663e1e3059ebe7a850576eb90a SHA512 d9f34f5bbd5e94a8dccc5bdbc1ec0e5015608675469c4f513461fa587a5eb7e1398542388fd885d7656591ca85ce30c0e2a9ee26b9722a9dd65189aac35d64ed WHIRLPOOL d58deb139c22639730c6841782e30f5361173dec83566cdfe92cbf25017d06636c666a322f5a38b68cfe12d206751f4b0c2f20c08e7f38f60b719e1b8b170f2d |
23 |
|
24 |
diff --git a/dev-ml/extlib/extlib-1.7.2.ebuild b/dev-ml/extlib/extlib-1.7.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3ffa91ee32f |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/extlib/extlib-1.7.2.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit findlib eutils |
36 |
+ |
37 |
+DESCRIPTION="Standard library extensions for O'Caml" |
38 |
+HOMEPAGE="https://github.com/ygrek/ocaml-extlib" |
39 |
+SRC_URI="https://github.com/ygrek/ocaml-extlib/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+LICENSE="LGPL-2.1" |
41 |
+DEPEND=" |
42 |
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?] |
43 |
+ dev-ml/cppo:= |
44 |
+" |
45 |
+RDEPEND="${DEPEND}" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
48 |
+IUSE="doc +ocamlopt" |
49 |
+S="${WORKDIR}/ocaml-${P}" |
50 |
+ |
51 |
+src_compile() { |
52 |
+ cd src |
53 |
+ emake -j1 all |
54 |
+ if use ocamlopt; then |
55 |
+ emake opt cmxs |
56 |
+ fi |
57 |
+ |
58 |
+ if use doc; then |
59 |
+ emake doc |
60 |
+ fi |
61 |
+} |
62 |
+ |
63 |
+src_test() { |
64 |
+ emake -j1 test |
65 |
+} |
66 |
+ |
67 |
+src_install () { |
68 |
+ findlib_src_install |
69 |
+ |
70 |
+ # install documentation |
71 |
+ dodoc README.md |
72 |
+ |
73 |
+ if use doc; then |
74 |
+ dohtml src/doc/* |
75 |
+ fi |
76 |
+} |