-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
85 lines (85 loc) · 2.76 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
78
79
80
81
82
83
84
85
opam-version: "2.0"
maintainer: "roberto@dicosmo.org"
authors: [
"Roberto Di Cosmo"
"Ralf Treinen"
"Stefano Zacchiroli"
"Pietro Abate"
"Jaap Boender"
"Jakub Zwolakowski"
"Olivier Rosello"
"Johannes Schauer"
]
homepage: "http://www.mancoosi.org/software/"
license: "LGPL-3.0-or-later WITH OCaml-LGPL-linking-exception"
build: [
["./configure" "--with-ocamlgraph" "--bindir=%{bin}%"]
[make "TARGETS="]
]
remove: [
["ocamlfind" "remove" "dose3"]
["rm" "-f"
"%{bin}%/distcheck"
"%{bin}%/debcheck"
"%{bin}%/rpmcheck"
"%{bin}%/eclipsecheck"]
]
depends: [
"ocaml"
"ocamlgraph" {= "1.8.5"}
"cudf" {>= "0.7"}
"camlp4"
("extlib" | "extlib-compat")
"re" {>= "1.2.0"}
"ocamlbuild" {build}
]
patches: [
"0003-Removed-hard-failure-cases-in-favor-of-finer-diagnos.patch"
"0004-Remove-broken-assert.patch"
"0005-Add-a-check_request-function-allowing-more-control-o.patch"
"0002-ocamlgraph-1.8.6.diff" {ocamlgraph:version >= "1.8.6"}
]
install: [make "install"]
depexts: ["perl-Pod-Html"] {os-distribution = "fedora"}
synopsis: "Dose library (part of Mancoosi tools)"
description: """
This version has been patched specifically for compiling OPAM itself, but
remains backwards-compatible, and the patches will be backported upstream."""
flags: light-uninstall
url {
src:
"https://gforge.inria.fr/frs/download.php/file/33677/dose3-3.2.2.tar.gz"
checksum: "md5=3ffed1987a040024076c08f4a7af9b21"
}
extra-source "0005-Add-a-check_request-function-allowing-more-control-o.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/dose/0005-Add-a-check_request-function-allowing-more-control-o.patch"
checksum: [
"sha256=73065f81c951449c6cc4b920ffb5a5df1d309cd7734c279b11d0fbefc7446ab6"
"md5=fdcd12e2053172a3af032c198d66c0bb"
]
}
extra-source "0004-Remove-broken-assert.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/dose/0004-Remove-broken-assert.patch"
checksum: [
"sha256=169b01b6d5c4c92b673a66142cc2279730b4e4c7668e511bee5c2c6a074b2670"
"md5=f996dd85cca97fa0a8a7d0f561b8784a"
]
}
extra-source "0003-Removed-hard-failure-cases-in-favor-of-finer-diagnos.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/dose/0003-Removed-hard-failure-cases-in-favor-of-finer-diagnos.patch"
checksum: [
"sha256=61448e8edb917bd9a01fdd3b8c5395ef08cef27278d9297a1ce7391dcbede948"
"md5=3e550296be4774f254404ebdc3ad299d"
]
}
extra-source "0002-ocamlgraph-1.8.6.diff" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/dose/0002-ocamlgraph-1.8.6.diff"
checksum: [
"sha256=d734a35facc244f1bac6981832e1a112d51df5f4f95b9b264070ea4a79b09cf6"
"md5=c44ed3dc7a5c5128089abf11278f042b"
]
}