diff options
Diffstat (limited to 'dev-ml/ocurl')
-rw-r--r-- | dev-ml/ocurl/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/ocurl/ocurl-0.9.2.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ml/ocurl/Manifest b/dev-ml/ocurl/Manifest index 3e5fc68acfb3..471e19946a55 100644 --- a/dev-ml/ocurl/Manifest +++ b/dev-ml/ocurl/Manifest @@ -1,3 +1,5 @@ DIST ocurl-0.9.1.tar.gz 111393 BLAKE2B 83ec8f5e2e83b5cc519683556ca97818a092a80f41305394cc04088371c1179f256dee3d8a8e80597837fb156299698450c70ca00f1ec336ace46b02b84bb51e SHA512 f4acb596f213ce57e749c9805225330b532e17718f3b228745b438cd1fe6d89b37e56d401a11c329107729dd0e6bdd4a425d547f9a83dabe32edbf18aca585b5 +DIST ocurl-0.9.2.tar.gz 116659 BLAKE2B 3947cd82343cc9246c930f8fc89f7899f41a06f41358b5a014fbd05f5c85e70eb3df8c10690e62bd76d345c5738fdab63a936deed53fde0c8a3b040c5890129f SHA512 de9b06a2a4cbf804b6c947ef1011a75f45e3effbc29db054a9b72453920a0f554baa06d06b2a36eeee33090df7f9eb35280404237e2e3be219fb2dc98fe2bc82 EBUILD ocurl-0.9.1.ebuild 786 BLAKE2B 6e9836181c9cc3ef8a100decaab730d0622021358495eab2ddbf3ad56218a533e01dffb850d1ed021440f595babcb6f9ce4e5805cef2aba2c7b9ec3bd2c4fbbe SHA512 26caf1a73c6f5b3ee72e31718668502bb204c2b043621bc96885887371bf729e112e3ef9c93f11563b68cf846b3aa0aa9a285864a9e2219c2bc62033b71b9cce +EBUILD ocurl-0.9.2.ebuild 794 BLAKE2B 698f16f21b121c3a135ff0955684807357b8152b5114307d04911590ca9992f1a1222ba2307750b67b79af4f65ea0d25048179f8ad68bf6b086a7b9bdf6aff31 SHA512 242659d883ceed9d754bdea86724495374afbdbadbeef9e1aedb2c69834229741f4997d89b9b86df1395e6555af1b0467d4c0a7e63e00de90d8a9796cc2c637f MISC metadata.xml 249 BLAKE2B bc891d69b7055dc76869f08ac74ef4a5f9d4e107a21263e1b46e5e9616c8a28b66e6924f04cfec266256eb54a93d6c00a88bf2c180b6220c4cf93ff627be1487 SHA512 a47a8f47c4add47bb718a66770f0a180e4303af427aa696928abc621d94313b8c9d68b21994f6acf6c4866ce295559244063a9e02aadee4decc273f1be8dfa2d diff --git a/dev-ml/ocurl/ocurl-0.9.2.ebuild b/dev-ml/ocurl/ocurl-0.9.2.ebuild new file mode 100644 index 000000000000..f60438e9964a --- /dev/null +++ b/dev-ml/ocurl/ocurl-0.9.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="OCaml interface to the libcurl library" +HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/ https://github.com/ygrek/ocurl" +SRC_URI="https://github.com/ygrek/ocurl/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="examples +ocamlopt" + +RDEPEND=">=net-misc/curl-7.9.8 + dev-ml/lwt:= + dev-ml/camlp4:= + >=dev-lang/ocaml-3.12:=[ocamlopt?]" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_compile() { + emake -j1 all +} + +src_install() { + findlib_src_install + + dodoc CHANGES.txt README.md + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |