-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
41 lines (41 loc) · 1.22 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
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
patches: "4.01.patch" {ocaml:version >= "4.01.0"}
build: [
["./configure"]
[make "all"]
]
remove: [["ocamlfind" "remove" "mascot"]]
depends: [
"ocaml" {>= "4.0.0" & < "4.02.0"}
"ocamlfind"
"camlp4"
"ocamlbuild" {build}
]
install: [make "install"]
synopsis:
"A style-checker for OCaml sources (code, documentation, interface, metrics, and typography)."
flags: light-uninstall
url {
src: "https://download.ocamlcore.org/mascot/1.0/sources/mascot-1.0.tar.gz"
checksum: [
"sha256=62f691a08358df04b3ddb17355c621840bd424246c532e3828e5e5bd79b54024"
"md5=09bd8a57156ffb553e32e82248615119"
]
}
extra-source "mascot.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/mascot/mascot.install"
checksum: [
"sha256=54aaa720caa46418c084cc036d645e16eaca8945aff2a13a665986c0f9b01bcf"
"md5=bf82e5b6a5ecc741c8264746c4b34e67"
]
}
extra-source "4.01.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/mascot/4.01.patch"
checksum: [
"sha256=f96a9f88732e44f00521340cb28632de858c23eda983f2fb6cd84c034305880b"
"md5=529ca7463032753975fd526b7e2d0e33"
]
}