opam-version: "2.0"
maintainer:   "anil@recoil.org"
homepage:     "https://github.com/mirage/mirage-tcpip"
dev-repo: "git+https://github.com/mirage/mirage-tcpip.git"
bug-reports:  "https://github.com/mirage/mirage-tcpip/issues"
authors: [
  "Anil Madhavapeddy"
  "Balraj Singh"
  "Richard Mortier"
  "Nicolas Ojeda Bar"
]
tags: ["org:mirage"]

build: [
  ["./configure" "--prefix" prefix
    "--%{mirage-xen:enable}%-xen"
  ]
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "tcpip"]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "cstruct" {>= "1.0.1" & < "3.4.0"}
  "mirage-types-lwt" {= "2.2.0"}
  "mirage-unix" {>= "1.1.0" & <= "2.6.0"}
  "mirage-console" {< "2.2.0"}
  "mirage-clock-unix" {>= "1.0.0" & < "1.2.0"}
  "mirage-net-unix" {>= "1.1.0" & < "2.3.0"}
  "ipaddr" {>= "2.2.0" & < "3.0.0"}
  "mirage-profile" {< "0.8.0"}
  "io-page" {< "1.3.0"}
  "ocamlbuild" {build}
]
depopts: [
  "mirage-xen"
]
conflicts: [
  "lwt" {>= "3.0.0"}
  "mirage-xen" {>= "6.0.0"}
]
synopsis: "Userlevel TCP/IP stack"
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-tcpip/archive/v2.2.1.tar.gz"
  checksum: "md5=2d1e83cd98c04998d3f123f242e43112"
}
