opam-version: "2.0"
maintainer: "mirageos-devel@lists.xenproject.org"
authors: [ "Thomas Gazagnaire"
           "Anil Madhavapeddy"
           "Peter Zotov" ]
license: "ISC"
homepage: "https://github.com/mirage/ocaml-base64"
doc: "http://mirage.github.io/ocaml-bytes"
bug-reports: "https://github.com/mirage/ocaml-base64/issues"
dev-repo: "git://github.com/mirage/ocaml-base64.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [
  ["ocamlfind" "remove" "base64"]
]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "base-bytes"
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Base64 encoding and decoding library"
description: """
Base64 is a group of similar binary-to-text encoding schemes that represent
binary data in an ASCII string format by translating it into a radix-64
representation.  It is specified in RFC 2045.

From version 2.0 upwards, the module name is called `B64` to avoid clashing
with other libraries such as `extlib` that use the `Base64` toplevel name."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-base64/archive/v2.0.0.tar.gz"
  checksum: "md5=52b9736839c83cf88a9fb1373cf2e35c"
}
