1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
ocurl - OCaml libcurl bindings
==============================
[](https://travis-ci.org/ygrek/ocurl) [](https://ci.appveyor.com/project/ygrek/ocurl/branch/master)
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
------------
* libcurl devel for msvc <http://curl.haxx.se/latest.cgi?curl=win32-ssl-devel-msvc>
* working ocaml/msvc setup (ocaml and msvc tools in PATH)
* ocamlfind
* GNU make
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
|