opam-version: "1.2"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/cppo.html"
dev-repo: "https://github.com/mjambon/cppo.git"
bug-reports: "https://github.com/mjambon/cppo/issues"
license: "BSD-3-Clause"

build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
]

depends: [
  "jbuilder" {build & >= "1.0+beta10"}
  "ocamlbuild"

  # Earlier versions of cppo (opam package) used to install
  # cppo_ocamlbuild (ocamlfind package).
  # Requiring cppo >= 1.6 ensures we don't install it twice.
  "cppo" {>= "1.6.0"}
]
