opam-version: "2.0"
maintainer: "Spiros Eliopoulos <seliopou@gmail.com>"
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--%{async:enable}%-async"
    "--%{quickcheck:enable}%-quickcheck"
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [
  ["ocamlfind" "remove" "openflow"]
]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind"
  "core" {< "v0.15"}
  "cstruct" {>= "1.0.1" & < "2.0.0"}
  "packet" {>= "0.3.1"}
  "sexplib" {< "113.01.00"}
  "ocamlbuild" {build}
]
depopts: [
  "async"
  "quickcheck"
]
conflicts: [
  "async_extra" {<= "111.25.00"}
  "async_extra" {>= "112.01.00"}
]
dev-repo: "git://github.com/frenetic-lang/ocaml-openflow"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Serialization and protocol implementation for OpenFlow 1.{0,3}"
description: """
This library provides the basic building blocks that are necessary to build an
OpenFlow 1.0 or 1.3.4 based network controller, including serialzation
functions and async-based protocol implementations."""
flags: light-uninstall
url {
  src:
    "https://github.com/frenetic-lang/ocaml-openflow/archive/v0.7.0.tar.gz"
  checksum: "md5=d8a293f6ce1744102bd588f609a7fe78"
}
