opam-version: "2.0"
maintainer:   "thomas@gazagnaire.org"
homepage:     "https://pandoc.org/"
authors:      "John MacFarlane"
bug-reports:  "https://github.com/ocaml/opam-repository/issues"
license:      "GPL-3.0-only"
build:        ["sh" "-exc" "echo | pandoc"]

depexts: [
  ["pandoc"] {os-family = "debian"}
  ["pandoc" "epel-release"] {os-distribution = "centos"}
  ["pandoc"] {os-distribution = "fedora"}
  ["pandoc"] {os = "macos" & os-distribution = "homebrew"}
  ["pandoc"] {os-family = "suse"}
]
synopsis: "Virtual package relying on pandoc installation"
description: """
This package can only install if the pandoc command
is available on the system."""
flags: conf
