-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (44 loc) · 1.34 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
opam-version: "2.0"
maintainer: "Christophe.Troestler@umons.ac.be"
authors: [
"Christophe Troestler"
"Sylvain Le Gall"
]
homepage: "https://github.com/ocaml/oasis2opam"
license: "GPL-3 with OCaml linking exception"
tags: [
"build"
"install"
]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
depends: [
"ocaml"
("oasis" {>= "0.3.0" & < "0.4.2"} | "oasis-mirage" {>= "0.3.0"})
"ocamlfind"
"ocamlbuild" {build}
]
dev-repo: "git+https://github.com/ocaml/oasis2opam"
install: ["ocaml" "setup.ml" "-install"]
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.2.2.tar.gz"
checksum: [
"sha256=3dfda52c5798d5808c2333fac3937eb0e4be862b9190dfcebaaa4004cd0a6d91"
"md5=1c64e9017e9dd312196b303c62287ed3"
]
}
extra-source "oasis2opam.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/oasis2opam/oasis2opam.install.0.2.2"
checksum: [
"sha256=4ad748b683cd790c9cf1d404da1e7447b6eb2d8e486962bb067518d2927219c3"
"md5=49d03f71d09c8a1aca979aa0c82e1932"
]
}