-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
67 lines (67 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
opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
authors: ["Xavier Leroy"]
homepage: "http://forge.ocamlcore.org/projects/camlzip/"
bug-reports: "https://forge.ocamlcore.org/tracker/?atid=622&group_id=134"
dev-repo: "git+https://github.com/xavierleroy/camlzip.git"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
build: [
[make "all"]
[make "allopt"]
]
remove: [
["ocamlfind" "remove" "zip"]
["ocamlfind" "remove" "camlzip"]
]
depends: [
"ocaml" {>= "4.02.0" & < "5.0"}
"ocamlfind"
]
depexts: [
["zlib1g-dev"] {os-family = "debian"}
["zlib-devel"] {os-distribution = "centos"}
["zlib-devel"] {os-distribution = "rhel"}
["zlib-devel"] {os-distribution = "fedora"}
["zlib-dev"] {os-distribution = "alpine"}
]
patches: [
"fix-install.patch"
"build_with_trunk.patch"
"no-L.patch" {os = "macos"}
]
install: [make "install-findlib"]
synopsis:
"Provides easy access to compressed files in ZIP, GZIP and JAR format"
flags: light-uninstall
url {
src:
"https://download.ocamlcore.org/camlzip/camlzip/1.06/camlzip-1.06.tar.gz"
checksum: [
"sha256=c83877f9972943e6f2e147cf9715a785da2fc8531e7bed3ab4787043b8f4cf54"
"md5=0874be16d02a7165dfc31edc06636e4c"
]
}
extra-source "no-L.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlzip/no-L.patch"
checksum: [
"sha256=cefcc85b797c7ad6a719eca3e62fca1722260a1d68af04af92ef7cf5e5d26ccb"
"md5=a87a3ee77f84d745dd2956e34c635cf9"
]
}
extra-source "fix-install.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlzip/fix-install.patch.1.06"
checksum: [
"sha256=608686a8d85821b11e38d38bdabfe098a8e048bb4b1bb9dfc638e7923d60f691"
"md5=0d35b1372c52b8de9695212b67a597d7"
]
}
extra-source "build_with_trunk.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlzip/build_with_trunk.patch.1.06"
checksum: [
"sha256=a22c2712b4663ddc2ee03654982eb7ecb13f7bc00b381a14230eabf79c7b42f3"
"md5=59df579d4344f758eaffbb7f32645e30"
]
}