opam-version: "2.0"
maintainer: "Arjun Guha <arjun@cs.umass.edu>"
build: [
  ["./configure" "--%{pa_ounit:enable}%-tests"]
  [make]
  [make "test"] {with-test}
]
remove: [
  ["ocamlfind" "remove" "openflow"]
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind"
  "core" {< "112.35.00"}
  "cstruct" {>= "1.0.1" & < "2.0.0"}
  "packet" {>= "0.3.1"}
  "sexplib" {< "113.01.00"}
  "async" {>= "112.17.00" & < "v0.15"}
  "quickcheck"
  "ounit" {with-test}
  "pa_ounit" {with-test}
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/frenetic-lang/ocaml-openflow"
install: [make "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.9.0.tar.gz"
  checksum: "md5=18fec9861b83af8888f77076711eed1e"
}
