opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://wiki.debian.org/Teams/Dpkg"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Dpkg dev team"
license: "GPL-2.0-only"
build: ["dpkg" "--version"]
depexts: [
  # Assumed to be there by default on debian/ubuntu based systems
  ["dpkg"] {os-distribution = "fedora"}
  ["epel-release" "dpkg"] {os-distribution = "centos"}
  ["dpkg"] {os-distribution = "rhel"}
  ["dpkg"] {os-family = "suse"}
  ["dpkg"] {os-family = "arch"}
  ["dpkg"] {os-family = "alpine"}
  ["app-arch/dpkg"] {os-family = "gentoo"}
  ["dpkg"] {os = "macos" & os-distribution = "homebrew"}
  ["dpkg"] {os = "macos" & os-distribution = "macports"}
  ["dpkg"] {os = "freebsd"}
  ["dpkg"] {os = "openbsd"}
  ["dpkg"] {os = "netbsd"}
]
x-ci-accept-failures: [
  "oraclelinux-7" # Does not have the package by default
  "oraclelinux-8" # Does not have the package by default
]
synopsis: "Virtual package relying on dpkg"
description:
  "This package can only install if the dpkg binary is installed on the system."
flags: conf
