opam-version: "2.0"
maintainer:   "anil@recoil.org"
homepage:     "https://github.com/mirage/ocaml-dns"
dev-repo:     "git+https://github.com/mirage/ocaml-dns.git"
bug-reports:  "https://github.com/mirage/ocaml-dns/issues"
authors: [
  "Anil Madhavapeddy"
  "Tim Deegan"
  "Richard Mortier"
  "Haris Rotsos"
]
license: ["LGPL-2.0-only" "LGPL-2.1-only with OCaml-LGPL-linking-exception" "ISC"]
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.0.0"}
  "cstruct" {>= "0.5.1" & < "0.6.0"}
  "ocamlfind"
  "cryptokit"
  "re"
  "uri"
  "ocamlbuild" {build}
]
depopts: ["lwt" "mirage-net" "async"]
conflicts: [
  "lwt" {< "2.4.1" | >= "3.0.0"}
]
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.0"
  checksum: "md5=51e828d9910ee667d40421fc5c0df9f8"
}
