Skip to content

Commit 204ac35

Browse files
committed
Fix upgrade to ocamlfind 1.9.6 on OCaml 5.0
1 parent 15f4a22 commit 204ac35

File tree

1 file changed

+46
-0
lines changed
  • packages/ocamlfind/ocamlfind.1.9.6-1

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
opam-version: "2.0"
2+
synopsis: "A library manager for OCaml"
3+
description: """
4+
Findlib is a library manager for OCaml. It provides a convention how
5+
to store libraries, and a file format ("META") to describe the
6+
properties of libraries. There is also a tool (ocamlfind) for
7+
interpreting the META files, so that it is very easy to use libraries
8+
in programs and scripts.
9+
"""
10+
license: "MIT"
11+
maintainer: "Thomas Gazagnaire <[email protected]>"
12+
authors: "Gerd Stolpmann <[email protected]>"
13+
homepage: "http://projects.camlcity.org/projects/findlib.html"
14+
bug-reports: "https://github.com/ocaml/ocamlfind/issues"
15+
depends: [
16+
"ocaml" {>= "3.08.0"}
17+
]
18+
depopts: ["graphics"]
19+
build: [
20+
# See https://github.com/ocaml/ocamlfind/pull/61
21+
["sed" "-ib" "s|stdlib/META|stdlib.cmi|" "configure"]
22+
[
23+
"./configure"
24+
"-bindir" bin
25+
"-sitelib" lib
26+
"-mandir" man
27+
"-config" "%{lib}%/findlib.conf"
28+
"-no-custom"
29+
"-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
30+
"-no-topfind" {ocaml:preinstalled}
31+
]
32+
[make "all"]
33+
[make "opt"] {ocaml:native}
34+
]
35+
install: [
36+
[make "install"]
37+
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
38+
]
39+
dev-repo: "git+https://github.com/ocaml/ocamlfind.git"
40+
url {
41+
src: "http://download.camlcity.org/download/findlib-1.9.6.tar.gz"
42+
checksum: [
43+
"md5=96c6ee50a32cca9ca277321262dbec57"
44+
"sha512=cfaf1872d6ccda548f07d32cc6b90c3aafe136d2aa6539e03143702171ee0199add55269bba894c77115535dc46a5835901a5d7c75768999e72db503bfd83027"
45+
]
46+
}

0 commit comments

Comments
 (0)