-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
75 lines (75 loc) · 2.06 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
opam-version: "2.0"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
homepage: "http://projects.camlcity.org/projects/findlib.html"
bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues"
dev-repo: "git+https://gitlab.camlcity.org/gerd/lib-findlib.git"
patches: ["no-awk-check.patch"]
build: [
[
"./configure"
"-bindir"
bin
"-sitelib"
lib
"-mandir"
man
"-config"
"%{lib}%/findlib.conf"
"-no-topfind" {ocaml:preinstalled}
]
[make "all"]
[make "opt"]
]
depends: [
"ocaml" {< "4.00.0~"}
"conf-m4" {build}
"num" {= "0"}
]
install: [
[
"./configure"
"-bindir"
bin
"-sitelib"
lib
"-mandir"
man
"-config"
"%{lib}%/findlib.conf"
"-no-topfind" {ocaml:preinstalled}
]
[make "install"]
]
synopsis: "A library manager for OCaml"
description: """
Findlib is a library manager for OCaml. It provides a convention how
to store libraries, and a file format ("META") to describe the
properties of libraries. There is also a tool (ocamlfind) for
interpreting the META files, so that it is very easy to use libraries
in programs and scripts."""
authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
url {
src: "http://download.camlcity.org/download/findlib-1.0.4.tar.gz"
checksum: [
"sha256=dcd0970672b6893cb91ba8dafe56b5f9508b13277e2b68bad7596b9ec1b68516"
"md5=dbfabe1b3677a03bcf238ecccb36d84f"
]
mirrors: "http://download2.camlcity.org/download/findlib-1.0.4.tar.gz"
}
depopts: ["graphics"]
extra-source "ocamlfind.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/ocamlfind.install.1.0.4"
checksum: [
"sha256=1eaad21f7efa173ffe315aa563e772cd349cd7aa3e01426523c5a8368dee7046"
"md5=2a7365fc4b6af4531babaefb5226e080"
]
}
extra-source "no-awk-check.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/no-awk-check.patch.1.0.4"
checksum: [
"sha256=0704a2041d7e4737373a422f813047775202be31b98b81815b4d0c41a1d24a4c"
"md5=628377ab781f705cc6f468165bad47cb"
]
}