Skip to content

Reading and writing zip and gzip files from OCaml

License

Notifications You must be signed in to change notification settings

treinen/camlzip

 
 

Repository files navigation

                        The CamlZip library

DESCRIPTION:

This Objective Caml library provides easy access to compressed files in ZIP
and GZIP format, as well as to Java JAR files.  It provides functions
for reading from and writing to compressed files in these formats.

REQUIREMENTS:

- Objective Caml 4.02 or up.

- The Findlib / ocamlfind library manager.

- The Zlib C library, version 1.1.3 or up.  If it is not installed on
  your system (look for libz.a or libz.so), get it from
  https://zlib.net/.  If you are running Linux or BSD, chances
  are that your distribution provides precompiled binaries for this
  library.

INSTALLATION:

- Edit the three variables at the beginning of the Makefile to reflect
  the location where Zlib is installed on your system.  The defaults
  are OK for Linux.

- Do "make all".

- If the Objective Caml native-code compiler is available on your platform
  (look for the "ocamlopt" executable), do "make allopt".

- Become super-user if necessary and do
         make install
  This installs the library through ocamlfind.



DOCUMENTATION:

See the comments in files zip.mli and gzip.mli.

Compilation:      ocamlfind ocamlopt -package zip ...
Linking:          ocamlfind ocamlopt -package zip -linkpgk ...

The directory test/ contains examples of using this library.

LICENSING:

This library is copyright 2001, 2002, 2006, 2007, 2008, 2016, 2017
Institut National de Recherche en Informatique et en Automatique (INRIA),
and distributed under the terms of the GNU Lesser General Public
License (LGPL) version 2.1 or above, with a special exception
concerning static linking.  See the file LICENSE for the exact
licensing terms.

BUG REPORTS AND USER FEEDBACK:

Please e-mail Xavier.Leroy@inria.fr

About

Reading and writing zip and gzip files from OCaml

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 87.8%
  • C 8.8%
  • Makefile 3.4%