dev-ml/ocurl - 0.9.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ml/ocurl-0.9.1

Package Information

Description:
OCaml interface to the libcurl library
Homepage:
https://forge.ocamlcore.org/projects/ocurl/ https://github.com/ygrek/ocurl
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.9.1 7 amd64 arm arm64 ~ppc ppc64 x86 0/0.9.1
View Raw Ebuild
# Copyright 1999-2025 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="https://forge.ocamlcore.org/projects/ocurl/ https://github.com/ygrek/ocurl"
LICENSE="MIT"
SRC_URI="https://github.com/ygrek/ocurl/archive/${PV}.tar.gz -> ${P}.tar.gz"

SLOT="0/${PV}"
IUSE="examples +ocamlopt"

BDEPEND="virtual/pkgconfig"
RDEPEND=">=net-misc/curl-7.9.8
	dev-ml/lwt:=
	dev-ml/camlp4:="
DEPEND="${RDEPEND}"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/ocurl | euse -E <flag> -p dev-ml/ocurl | euse -D <flag> -p dev-ml/ocurl

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

>=net-misc/curl-7.9.8
	dev-ml/lwt:=
	dev-ml/camlp4:=

RDEPEND

>=net-misc/curl-7.9.8
	dev-ml/lwt:=
	dev-ml/camlp4:=

BDEPEND

virtual/pkgconfig

Manifest for 0.9.1

Type File Size Source URLs
DIST ocurl-0.9.1.tar.gz 111393 bytes https://github.com/ygrek/ocurl/archive/0.9.1.tar.gz