opam-version: "2.0"
maintainer: "opam-devel@lists.ocaml.org"
authors: ["Daniel Bünzli <daniel.buenzli at erratique.ch>"]
homepage: "http://erratique.ch/software/xmlm"
license: "BSD-3-Clause"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "xmlm"]]
depends: [
  "ocaml" {>= "3.10.0" & < "4.06.0"}
  "ocamlfind"
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Streaming XML IO for OCaml"
description: """
Xmlm is an OCaml module for streaming XML IO. It aims at making XML
processing robust and painless. The streaming interface can process
documents without building an in-memory representation. It lets the
programmer translate its data structures to XML documents and
vice-versa. Functions are provided to easily transform arborescent
data structures to/from XML documents.

Xmlm is made of a single independent module and distributed under the
BSD3 license."""
flags: light-uninstall
extra-files: ["xmlm.install" "md5=17cae44846e3d0dbc0c4cb294723369b"]
url {
  src: "http://erratique.ch/software/xmlm/releases/xmlm-1.1.1.tbz"
  checksum: "md5=357025dd1a9fc87b6e50ac21eb0eb2b1"
}
