opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
homepage: "https://github.com/OCamlPro/ocplib-endian"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "ocplib-endian"]]
depends: [
  "ocaml"
  "ocamlfind"
  "optcomp" {>= "1.6"}
  "camlp4"
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/OCamlPro/ocplib-endian"
install: ["ocaml" "setup.ml" "-install"]
synopsis:
  "Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.01."
description: """
The library implements two modules:
* [EndianString](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianString.mli) works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBigstring](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBigstring.mli) works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;"""
flags: light-uninstall
url {
  src: "https://github.com/OCamlPro/ocplib-endian/archive/0.2.tar.gz"
  checksum: "md5=0b298747d03b8f5751107705cab0d9f2"
}
tags: ["org:ocamlpro"]
