/
opam
31 lines (31 loc) · 1.46 KB
/
opam
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
opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
homepage: "https://github.com/OCamlPro/ocplib-endian"
build: [
["ocaml" "setup.ml" "-configure" "--disable-debug" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "ocplib-endian"]]
depends: [
"ocaml" {< "5.0"}
"base-bytes"
"ocamlfind"
"optcomp" {>= "1.6"}
"camlp4"
"ocamlbuild" {build}
]
dev-repo: "git+https://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 three 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;
* [EndianBytes](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBytes.mli) works directly on bytes, 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.6.tar.gz"
checksum: "md5=e8a3bab148db6fe46b17796900228209"
}
tags: ["org:ocamlpro"]