opam-version: "2.0"
maintainer:   "vb@luminar.eu.org"
authors:      [ "Vincent Bernardoff <vb@luminar.eu.org>"
                "Anil Madhavapeddy <anil@recoil.org>" ]
license:      "ISC"
homepage:     "https://github.com/mirage/ocaml-tuntap"
dev-repo: "git+https://github.com/mirage/ocaml-tuntap.git"
bug-reports:  "https://github.com/mirage/ocaml-tuntap/issues"
doc:          "https://mirage.github.io/ocaml-tuntap/"
tags:         [ "org:mirage" "org:xapi-project" ]

build: [
  "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"
]

depends: [
  "ocaml" {>= "4.01.0"}
  "topkg" {build & >= "0.8.0"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "ipaddr" {>= "2.4.0" & < "4.0.0"}
  "ounit" {with-test}
  "lwt" {with-test}
]
depexts: ["linux-headers"] {os-distribution = "alpine"}
synopsis: "OCaml library for handling TUN/TAP devices"
description: """
This is an OCaml library for handling TUN/TAP devices.  TUN refers to layer 3
virtual interfaces whereas TAP refers to layer 2 Ethernet ones.

See <http://en.wikipedia.org/wiki/TUN/TAP> for more information.

Linux, FreeBSD, OpenBSD and MacOS X should all be supported.  You will need
to install the third-party <http://tuntaposx.sourceforge.net/> on OSX before
using this library.

WWW:    <https://github.com/mirage/ocaml-tuntap>
Issues: <https://github.com/mirage/mirage/issues>
E-mail: <mirageos-devel@lists.openmirage.org>"""
url {
  src:
    "https://github.com/mirage/ocaml-tuntap/releases/download/1.4.1/tuntap-1.4.1.tbz"
  checksum: "md5=c25d0707a0dc80a5d7f3d46aaf0430f3"
}
