opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://github.com/vasi/pixz"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Pixz dev team"
license: "BSD-2-Clause"
build: ["sh" "-c" "pixz -h || test \"$?\" = 2"] # WTF. See https://github.com/vasi/pixz/pull/91
depexts: [
  ["pixz"] {os-family = "debian"}
  ["pixz"] {os-family = "ubuntu"}
  # Doesn't seem to be available on fedora, centos, rhel and ol
  ["pixz"] {os-family = "suse"}
  ["pixz"] {os-family = "arch"}
  ["pixz@testing"] {os-family = "alpine"}
  ["pixz"] {os-family = "gentoo"}
  ["pixz"] {os = "macos" & os-distribution = "homebrew"}
  ["pixz"] {os = "macos" & os-distribution = "macports"}
  ["pixz"] {os = "freebsd"}
  # Doesn't seem to be available on OpenBSD or NetBSD (only under wip)
]
synopsis: "Virtual package relying on pixz"
description:
  "This package can only install if the pixz binary is installed on the system."
flags: conf
