opam-version: "2.0"
maintainer: "opam-devel@lists.ocaml.org"
authors: ["Alain Frish"]
license: "MIT"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [["ocamlfind" "remove" "getopt"]]
depends: [
  "ocaml"
  "ocamlfind"
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis:
  "Parsing of command line arguments (similar to GNU GetOpt) for OCaml"
description: """
General command line syntax of GNU getopt and getopt_long, but is
close to the spirit of the Arg module."""
flags: light-uninstall
extra-files: ["getopt.install" "md5=a223c91cdc8bc9d22343511155616c57"]
url {
  src:
    "https://download.ocamlcore.org/ocaml-getopt/ocaml-getopt/20120615/ocaml-getopt-20120615.tar.gz"
  checksum: "md5=ebd953313fa183d596704e41b90178ee"
}
