···11+opam-version: "2.0"
22+synopsis: "A library manager for OCaml"
33+description: """
44+Findlib is a library manager for OCaml. It provides a convention how
55+to store libraries, and a file format ("META") to describe the
66+properties of libraries. There is also a tool (ocamlfind) for
77+interpreting the META files, so that it is very easy to use libraries
88+in programs and scripts.
99+"""
1010+license: "MIT"
1111+maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
1212+authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
1313+homepage: "http://projects.camlcity.org/projects/findlib.html"
1414+bug-reports: "https://github.com/ocaml/ocamlfind/issues"
1515+depends: [
1616+ "ocaml" {>= "4.00.0"}
1717+]
1818+depopts: ["graphics"]
1919+build: [
2020+ [
2121+ "./configure"
2222+ "-bindir" bin
2323+ "-sitelib" lib
2424+ "-mandir" man
2525+ "-config" "%{lib}%/findlib.conf"
2626+ "-no-custom"
2727+ "-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
2828+ "-no-topfind" {ocaml:preinstalled}
2929+ ]
3030+ [make "all"]
3131+ [make "opt"] {ocaml:native}
3232+]
3333+install: [
3434+ [make "install"]
3535+ ["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
3636+]
3737+dev-repo: "git+https://github.com/ocaml/ocamlfind.git"
3838+url {
3939+ src: "http://download.camlcity.org/download/findlib-1.9.1.tar.gz"
4040+ checksum: [
4141+ "md5=65e6dc9b305ccbed1267275fe180f538"
4242+ "sha512=83a05f3e310fa7cabb0475c5525f7a87c1b6bc2dc5e39f094cabfb5d944a826a5581844ba00ec1a48dd96184eb9de3c4d1055cdddee2b83c700a2de5a6dc6f84"
4343+ ]
4444+}