opam-version: "2.0"
maintainer: "arjun@cs.umass.edu"
homepage: "https://github.com/frenetic-lang/ocaml-openflow"
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--%{lwt:enable}%-lwt"
    "--%{quickcheck:enable}%-quickcheck"
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "openflow"]]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind"
  "cstruct" {< "2.0.0"}
  "packet"
  "camlp4"
  "ocamlbuild" {build}
]
depopts: [ "lwt" "quickcheck" ]
conflicts: [
  "lwt" {>= "4.0.0"}
]
dev-repo: "git://github.com/frenetic-lang/ocaml-openflow"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "A serialization library for OpenFlow."
description: """
This library supports almost all of OpenFlow 1.0 and also has some
experimental support for OpenFlow 1.3."""
flags: light-uninstall
url {
  src:
    "https://github.com/frenetic-lang/ocaml-openflow/archive/v0.2.0.tar.gz"
  checksum: "md5=9052c45afc7ec7953029e87f4ab0134b"
}
