-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
42 lines (42 loc) · 1.07 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
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/cppo.html"
dev-repo: "git+https://github.com/mjambon/cppo.git"
bug-reports: "https://github.com/mjambon/cppo/issues"
license: "BSD-3-Clause"
build: [
[make] {ocaml:native}
[make "all" "ocamlbuild"] {!ocaml:native}
]
install: [
[make "install-lib"]
]
remove: [
["ocamlfind" "remove" "cppo_ocamlbuild"]
]
depends: [
"ocaml" {< "4.06.0"}
"ocamlfind"
"ocamlbuild"
]
conflicts: [
"cppo_ocamlbuild"
]
synopsis: "Equivalent of the C preprocessor for OCaml programs"
flags: light-uninstall
url {
src: "https://github.com/mjambon/cppo/archive/v1.2.2.tar.gz"
checksum: [
"sha256=4ab1e1318928d5291d265acb319c69be851993acb6145253bd5cb948fb7e39ec"
"md5=99cccf3875c950f7d03d0cee286cd1cf"
]
}
extra-source "cppo.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/cppo/cppo.install"
checksum: [
"sha256=a018267abf2ebf8852c03ceaabfd48eee559c5c768186c6d0b9b1de41e47cf8f"
"md5=17d87ee306893c194f9fc7045c0bf717"
]
}