1 |
commit: 254233865f3f9acfc8fc180ddcba9cebde02ade8 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 9 01:38:34 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 9 01:38:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25423386 |
7 |
|
8 |
dev-ml/ocurl: add 0.9.2 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-ml/ocurl/Manifest | 1 + |
13 |
dev-ml/ocurl/ocurl-0.9.2.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocurl/Manifest b/dev-ml/ocurl/Manifest |
17 |
index 6c6fc0aaa928..4bc3d1319a6a 100644 |
18 |
--- a/dev-ml/ocurl/Manifest |
19 |
+++ b/dev-ml/ocurl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ocurl-0.9.1.tar.gz 111393 BLAKE2B 83ec8f5e2e83b5cc519683556ca97818a092a80f41305394cc04088371c1179f256dee3d8a8e80597837fb156299698450c70ca00f1ec336ace46b02b84bb51e SHA512 f4acb596f213ce57e749c9805225330b532e17718f3b228745b438cd1fe6d89b37e56d401a11c329107729dd0e6bdd4a425d547f9a83dabe32edbf18aca585b5 |
22 |
+DIST ocurl-0.9.2.tar.gz 116659 BLAKE2B 3947cd82343cc9246c930f8fc89f7899f41a06f41358b5a014fbd05f5c85e70eb3df8c10690e62bd76d345c5738fdab63a936deed53fde0c8a3b040c5890129f SHA512 de9b06a2a4cbf804b6c947ef1011a75f45e3effbc29db054a9b72453920a0f554baa06d06b2a36eeee33090df7f9eb35280404237e2e3be219fb2dc98fe2bc82 |
23 |
|
24 |
diff --git a/dev-ml/ocurl/ocurl-0.9.2.ebuild b/dev-ml/ocurl/ocurl-0.9.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f60438e9964a |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/ocurl/ocurl-0.9.2.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="OCaml interface to the libcurl library" |
38 |
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/ https://github.com/ygrek/ocurl" |
39 |
+SRC_URI="https://github.com/ygrek/ocurl/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
44 |
+IUSE="examples +ocamlopt" |
45 |
+ |
46 |
+RDEPEND=">=net-misc/curl-7.9.8 |
47 |
+ dev-ml/lwt:= |
48 |
+ dev-ml/camlp4:= |
49 |
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+BDEPEND="virtual/pkgconfig" |
52 |
+ |
53 |
+src_compile() { |
54 |
+ emake -j1 all |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ findlib_src_install |
59 |
+ |
60 |
+ dodoc CHANGES.txt README.md |
61 |
+ |
62 |
+ if use examples; then |
63 |
+ dodoc -r examples |
64 |
+ docompress -x /usr/share/doc/${PF}/examples |
65 |
+ fi |
66 |
+} |