/
opam
29 lines (29 loc) · 1.25 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
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"}
"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 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.4.tar.gz"
checksum: "md5=58d84c036a92d2e327ac8ad8dfe775d8"
}
tags: ["org:ocamlpro"]