-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
77 lines (77 loc) · 2.1 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
76
77
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-custom"
"-no-topfind" {ocaml:preinstalled}
]
[make "all"]
[make "opt"]
]
depends: [
"ocaml" {>= "3.08" & < "4.02.0"}
"conf-m4" {build}
"num" {= "0"}
]
install: [
[
"./configure"
"-bindir"
bin
"-sitelib"
lib
"-mandir"
man
"-config"
"%{lib}%/findlib.conf"
"-no-custom"
"-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.4.1.tar.gz"
checksum: [
"sha256=ce7fb1cbd551ca4c5c58c7d4230e6fe0b7194bfd6919e4f637c8946cc2c9ab31"
"md5=5d258142e9a7db98bb3553dbca739af8"
]
mirrors: "http://download2.camlcity.org/download/findlib-1.4.1.tar.gz"
}
depopts: ["graphics"]
extra-source "ocamlfind.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/ocamlfind.install.1.4.1"
checksum: [
"sha256=ea1fcb8477c7592489a185f3614dcee68ec3447d389517034217a917d47aa02c"
"md5=d4e41653cf0d3ff8b9fe648d89a97273"
]
}
extra-source "no-awk-check.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/no-awk-check.patch.1.4.1"
checksum: [
"sha256=426bfa5b0eaf6a49eb32d7637fbaccd70b9a7cf5d9b7dd612d5e0c32d2dfd945"
"md5=0378123bf1a45fccdea434c053ddb687"
]
}