opam-version: "2.0"
maintainer:   "mirageos-devel@lists.xenproject.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"
  "David Sheets"
  "Thomas Gazagnaire"
]
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
    "--enable-lwt"
    "--%{mirage-types:enable}%-mirage"
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "dns"]]
depends: [
  "ocaml" {>= "4.00.0"}
  "lwt" {>= "2.4.3" & < "3.0.0"}
  "cstruct" {>= "1.0.1" & < "1.6.0"}
  "ocamlfind"
  "re"
  "cmdliner"
  "ipaddr" {>= "2.2.0" & < "2.8.0"}
  "base64" {>= "2.0.0" & < "3.0.0"}
  "ocamlbuild" {build}
]
depopts: [
  "mirage-types"
  "tcpip"
  "async"
]
conflicts: [
  "mirage-types" {<"1.2.0" | >"3.0.0"}
  "async" {<"109.21.00"}
  "io-page" {>="1.3.0"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "DNS client and server implementation"
description: """
This is a pure OCaml implementation of the DNS protocol. It is intended to be a
reasonably high-performance implementation, but clarity is preferred rather
than low-level performance hacks."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-dns/archive/v0.12.0.tar.gz"
  checksum: "md5=ceeaa5c4fa31a7608b2a6de8fdcc1395"
}
