opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://github.com/OCamlPro/opam"
substs: ["depends.ocp"]
build: [
  ["./configure" "--prefix=%{prefix}%" "--mandir=%{prefix}%/man"]
  [make "META"]
  [make "LOCAL_OCPBUILD=ocp-build" "compile"]
]
remove: [["ocamlfind" "remove" "opam"]]
depends: [
  "ocaml"
  "ocamlgraph"
  "camlp4" {build}
  "cmdliner" {<= "0.9.8"}
  "dose" {= "3.1.2"}
  "cudf"
  "re" {>= "1.2.0"}
  "ocamlfind"
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/OCamlPro/opam"
install: [
  [make "libinstall"]
  ["rm" "opam.install"]
]
synopsis: "The OCaml PAckage Manager (OPAM)"
description: """
OPAM is a source-based package manager for OCaml. It supports multiple
simultaneous compiler installations, flexible package constraints, and
a Git-friendly development workflow.

This package contains only the libraries of OPAM and *not* the binary."""
flags: light-uninstall
url {
  src: "https://github.com/OCamlPro/opam/archive/0.9.1.tar.gz"
  checksum: "md5=a8af6cc3271c18bfd9d1e8dadd9beee0"
}
