opam-version: "2.0"
maintainer: "dave.scott@eu.citrix.com"
build: [
  [make "configure"]
  ["./configure" "--bindir" "%{bin}%"]
  [make]
]
remove: [
  ["ocamlfind" "remove" "message_switch"]
]
depends: [
  "ocaml"
  "ocamlfind"
  "cohttp" {>= "0.10.0" & < "0.12.0"}
  "rpc"
  "ounit"
  "syslog"
  "uri"
  "re"
  "rpc"
  "cmdliner"
  "ssl"
  "oclock"
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/xapi-project/message-switch"
install: [make "install"]
synopsis: "A simple store-and-forward message switch."
description: """
The switch stores messages in queues with well-known names. Clients use
a simple HTTP protocol to enqueue and dequeue messages."""
flags: light-uninstall
url {
  src:
    "https://github.com/xapi-project/message-switch/archive/v0.10.3/message-switch-0.10.3.tar.gz"
  checksum: "md5=b4b74c6a445077d6abdd2f1d3524576f"
}
