this repo has no description
1opam-version: "2.0"
2synopsis: "A library manager for OCaml"
3maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
4authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
5homepage: "http://projects.camlcity.org/projects/findlib.html"
6bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues"
7dev-repo: "git+https://gitlab.camlcity.org/gerd/lib-findlib.git"
8description: """
9Findlib is a library manager for OCaml. It provides a convention how
10to store libraries, and a file format ("META") to describe the
11properties of libraries. There is also a tool (ocamlfind) for
12interpreting the META files, so that it is very easy to use libraries
13in programs and scripts.
14"""
15build: [
16 [
17 "./configure"
18 "-bindir"
19 bin
20 "-sitelib"
21 lib
22 "-mandir"
23 man
24 "-config"
25 "%{lib}%/findlib.conf"
26 "-no-custom"
27 "-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
28 "-no-topfind" {ocaml:preinstalled}
29 ]
30 [make "all"]
31 [make "opt"] {ocaml:native}
32]
33install: [
34 [
35 "./configure"
36 "-bindir"
37 bin
38 "-sitelib"
39 lib
40 "-mandir"
41 man
42 "-config"
43 "%{lib}%/findlib.conf"
44 "-no-custom"
45 "-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
46 "-no-topfind" {ocaml:preinstalled}
47 ]
48 [make "install"]
49 ["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
50]
51depends: [
52 "ocaml" {>= "4.00.0" & < "4.13"}
53 "conf-m4" {build}
54]
55url {
56 src: "http://download.camlcity.org/download/findlib-1.8.1.tar.gz"
57 checksum: [
58 "sha256=8e85cfa57e8745715432df3116697c8f41cb24b5ec16d1d5acd25e0196d34303"
59 "md5=18ca650982c15536616dea0e422cbd8c"
60 ]
61 mirrors: "http://download2.camlcity.org/download/findlib-1.8.1.tar.gz"
62}
63depopts: ["graphics"]
64extra-source "ocamlfind.install" {
65 src:
66 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/ocamlfind.install.1.8.1"
67 checksum: [
68 "sha256=7a5c9de4d61f28dd8bdb8782bf6a18119d00e8e8f101259abab4491d9d6c37b9"
69 "md5=06f2c282ab52d93aa6adeeadd82a2543"
70 ]
71}
72extra-source "ocaml-stub" {
73 src:
74 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/ocaml-stub"
75 checksum: [
76 "sha256=488ad886225d3c2dbf0f2e845f4348387d7f903912bec4d58866e67275783b32"
77 "md5=181f259c9e0bad9ef523e7d4abfdf87a"
78 ]
79}