opam-version: "2.0"
maintainer: "anil@recoil.org"
tags: [
  "org:mirage"
  "org:xapi-project"
]
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--prefix"
    prefix
    "--%{lwt:enable}%-lwt"
    "--%{mirage-net:enable}%-mirage"
    "--%{async:enable}%-async"
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "dns"]]
depends: [
  "ocaml" {>= "4.00.0"}
  "cstruct" {>= "0.5.1" & < "0.6.0"}
  "ocamlfind"
  "cryptokit"
  "re"
  "uri"
  "ocamlbuild" {build}
]
depopts: ["lwt" "mirage-net"]
conflicts: [
  "lwt" {< "2.4.1"}
  "lwt" {>= "3.0.0"}
  "mirage-net" {> "0.9.4"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "DNS client and server implementation"
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-dns/tarball/ocaml-dns-0.5.1"
  checksum: "md5=5e3f6082216be39574f2e280c71967e4"
}
