Skip to content
OCaml bindings to libcurl
C OCaml M4 Shell Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitattributes
.gitignore
.travis.yml
CHANGES.txt
COPYING
META
Makefile.in
Makefile.msvc
README.md
aclocal.m4
appveyor.yml
config.h.in
config.h.windows
configure
configure.ac
curl-helper.c
curl.ml
curl.mli
curl_lwt.ml
curl_lwt.mli
errors.ml
install-sh
opam
print_ext.ml

README.md

ocurl - OCaml libcurl bindings

Build Status Build status

Homepage: https://ygrek.org.ua/p/ocurl

OCaml bindings to libcurl - client-side URL transfer library, supporting HTTP and a multitude of other network protocols. This is a continuation of ocurl project by Lars Nilsson, previously hosted at http://ocurl.sourceforge.net/

Minimum supported libcurl version : 7.28.0

Building on Windows with ocaml/msvc

Requirements

Build

Edit Makefile.msvc and make CURLDIR variable point to the root directory of libcurl installation. Copy config.h.windows to config.h.

Compile with make -f Makefile.msvc. Install with make -f Makefile.msvc install. Compile examples with make -f Makefile.msvc examples.

Adding new libcurl symbol

  • add symbol in configure.ac
  • autoreconf
  • make clean
  • ./configure
  • edit curl-helper.c and curl.ml*

Making release

  • Check make gen with latest libcurl
  • Update CHANGES.txt
  • Update version in configure.ac
  • autoreconf
  • commit
  • ./configure && make release

ygrek at autistici dot org

You can’t perform that action at this time.