opam-version: "2.0"
maintainer: "whitequark@whitequark.org"
authors: "Maas-Maarten Zeeman"
homepage: "https://github.com/whitequark/ocaml-expat"
dev-repo: "git+https://github.com/whitequark/ocaml-expat.git"
bug-reports: "https://github.com/whitequark/ocaml-expat/issues"
build: [
  [make "all"]
  [make "allopt"]
]
remove: [["ocamlfind" "remove" "expat"]]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
]
depexts: [
  ["libexpat1-dev"] {os-family = "debian"}
  ["expat"] {os = "macos" & os-distribution = "homebrew"}
]
install: [make "install"]
synopsis: "Write XML-Parsers using the SAX method"
description: """
An ocaml wrapper for the Expat XML parsing library. It allows you to
write XML-Parsers using the SAX method. An XML document is parsed on
the fly without needing to load the entire XML-Tree into memory."""
flags: light-uninstall
url {
  src: "https://github.com/whitequark/ocaml-expat/archive/v1.1.0.tar.gz"
  checksum: "md5=fa2ff6db2dcd89a7e74009eda5bd7acf"
}
