this repo has no description
1opam-version: "2.0"
2maintainer: "opam-devel@lists.ocaml.org"
3authors: ["Alain Frish"]
4license: "MIT"
5build: [
6 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
7 ["ocaml" "setup.ml" "-build"]
8 ["ocaml" "setup.ml" "-doc"] {with-doc}
9]
10remove: [["ocamlfind" "remove" "getopt"]]
11depends: [
12 "ocaml" {< "5.0"}
13 "ocamlfind"
14 "ocamlbuild" {build}
15]
16install: ["ocaml" "setup.ml" "-install"]
17synopsis:
18 "Parsing of command line arguments (similar to GNU GetOpt) for OCaml"
19description: """
20General command line syntax of GNU getopt and getopt_long, but is
21close to the spirit of the Arg module."""
22flags: light-uninstall
23url {
24 src:
25 "https://download.ocamlcore.org/ocaml-getopt/ocaml-getopt/20120615/ocaml-getopt-20120615.tar.gz"
26 checksum: [
27 "sha256=8abbbc5b9d97afc8b4ce9f31d3c8942a727d1282e6ef95886897b7f646ace2e7"
28 "md5=ebd953313fa183d596704e41b90178ee"
29 ]
30}
31extra-source "getopt.install" {
32 src:
33 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/getopt/getopt.install"
34 checksum: [
35 "sha256=e8ff1a65880276f57f9eeac7ed8d6b6aac40a7b6c5a10b649c306174124d6a46"
36 "md5=a223c91cdc8bc9d22343511155616c57"
37 ]
38}