opam-version: "2.0"
maintainer: "seliopou@gmail.com"
build: [
  ["ocaml" "setup.ml" "-configure" "--%{quickcheck:enable}%-quickcheck"]
  ["ocaml" "setup.ml" "-build"]
]
remove: [
  ["ocamlfind" "remove" "packet"]
]
depends: [
  "ocaml" {>= "4.00.1"}
  "ocamlfind"
  "cstruct" {>= "1.0.1" & < "2.0.0"}
  "ocamlbuild" {build}
]
depopts: ["quickcheck"]
dev-repo: "git://github.com/frenetic-lang/ocaml-packet"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "A serialization library for network packets."
description: """
This library includes serializers for:

 * ethernet
 * IP
 * UDP
 * TCP
 * ICMP
 * DNS

and others."""
flags: light-uninstall
url {
  src: "https://github.com/frenetic-lang/ocaml-packet/archive/v0.2.1.tar.gz"
  checksum: "md5=f7c3c7fbf7846390823ea4dab479190f"
}
