-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
77 lines (77 loc) · 2.11 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://pkgs.fedoraproject.org/lookaside/extras/ocaml-findlib/findlib-1.4.tar.gz/5d1f8238c53964fdd14387b87b48b5d9/findlib-1.4.tar.gz"
checksum: [
"sha256=6e4065e5d79d31176ec213ff94599c4eae17c3904c2896e845d0379a99f1bdf8"
"md5=5d1f8238c53964fdd14387b87b48b5d9"
]
}
depopts: ["graphics"]
extra-source "ocamlfind.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/ocamlfind.install.1.4.0"
checksum: [
"sha256=52ac98e5656da2f1b00b7b8866a393bad1aa1af4a85d1ff075b8f6fcef9722bd"
"md5=aba2fbf5de8c723a190d49fbb46d0637"
]
}
extra-source "no-awk-check.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlfind/no-awk-check.patch.1.4.0"
checksum: [
"sha256=426bfa5b0eaf6a49eb32d7637fbaccd70b9a7cf5d9b7dd612d5e0c32d2dfd945"
"md5=0378123bf1a45fccdea434c053ddb687"
]
}