opam-version: "2.0"
maintainer: "ygrek@autistici.org"
homepage: "https://github.com/mfp/extprot"
license: "MIT"
authors: ["Mauricio Fernandez <mfp@acm.org>"]
doc: ["https://github.com/mfp/extprot/blob/master/README.md"]
dev-repo: "git://github.com/mfp/extprot.git"
bug-reports: "https://github.com/mfp/extprot/issues"
build: [
  ["omake"]
  ["omake" "test"] {with-test}
]
install: [
  ["omake" "install" "prefix=%{prefix}%"]
]
remove: [
  ["ocamlfind" "remove" "extprot"]
  ["rm" "-f" "%{bin}%/extprotc" "%{bin}%/extprotc.exe"]
]
depends: [
  "ocaml" {>= "4.02.0" & < "4.06.0"}
  "omake" {build}
  "ocamlfind" {build}
  "ounit" {with-test}
  "camlp4" {build}
  ("extlib" {< "1.7.8"} | "extlib-compat")
  "base-bytes"
]
synopsis:
  "Extensible binary protocols for cross-language communication and long-term serialization"
description: """
extprot allows you to create compact, efficient, extensible, binary protocols that can
be used for cross-language communication and long-term data serialization.
extprot supports protocols with rich, composable types, whose definition can evolve
while keeping both forward and backward compatibility."""
flags: light-uninstall
url {
  src: "https://github.com/mfp/extprot/archive/v1.5.0.tar.gz"
  checksum: "md5=58552f263e3b8c2e77a23ba8d5e73e0d"
}
