-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
46 lines (46 loc) · 1.62 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
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler" ]
license: "GPL-3 with OCaml linking exception"
homepage: "https://github.com/ocaml/oasis2opam"
dev-repo: "git+https://github.com/ocaml/oasis2opam.git"
bug-reports: "https://github.com/ocaml/oasis2opam/issues"
tags: [ "build" "install" ]
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
]
depends: [
"ocaml" {< "4.06"}
"base-unix" {build}
"oasis" {build & >= "0.4.4"}
"ocamlfind" {build}
"ounit" {build & >= "2.0.0"}
"qcheck" {build & >= "0.4"}
"ocamlbuild" {build}
]
synopsis: "Tool to convert OASIS metadata to OPAM package descriptions"
description: """
Generate OPAM files from _oasis. Most of the metadata supported by
oasis is translated to OPAM. A simple .install file is written to
handle executables (until oasis supports the functionality itself)."""
url {
src: "https://github.com/ocaml/oasis2opam/archive/0.6.tar.gz"
checksum: [
"sha256=8ac4fab9b58ceaf5b1b93bc24c505efe1c583703f2afb1a3c44152740ea6e776"
"md5=6ed521ea259313b076c2758aad3429d3"
]
}
extra-source "oasis2opam.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/oasis2opam/oasis2opam.install.0.6.0"
checksum: [
"sha256=4ad748b683cd790c9cf1d404da1e7447b6eb2d8e486962bb067518d2927219c3"
"md5=49d03f71d09c8a1aca979aa0c82e1932"
]
}