opam-version: "2.0"
maintainer: "Reynir Björnsson <reynir@reynir.dk>"
authors: ["Thomas Graf"]
homepage: "https://www.infradead.org/~tgr/libnl/"
license: "LGPL-2.1"
build: [
  ["pkg-config" "libnl-3.0"]
  ["pkg-config" "libnl-route-3.0"]
]
depends: ["conf-pkg-config"]
depexts: [
  ["libnl-3-dev" "libnl-route-3-dev"] {os-family = "debian"}
  ["libnl-3-dev" "libnl-route-3-dev"] {os-family = "ubuntu"}
  ["libnl3" "libnl3-devel"] {os-distribution = "centos" | os-distribution = "fedora"}
  ["libnl3" "libnl3-devel"] {os-distribution = "ol" & os-version >= "8"}
  ["libnl3-devel"] {os-family = "suse"}
  ["libnl"] {os-family = "arch"}
  ["libnl3-dev"] {os-family = "alpine"}
]
available: [ os = "linux" ]
x-ci-accept-failures: [
  "oraclelinux-7" # Not available by default
]
synopsis: "Virtual package relying on a libnl system installation"
description:
  "This package can only install if libnl is installed on the system."
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
