-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
25 lines (25 loc) · 1.12 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
opam-version: "2.0"
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors: "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage: "https://github.com/dinosaure/esperanto"
bug-reports: "https://github.com/dinosaure/esperanto/issues/"
license: "MIT"
tags: "org:mirage"
dev-repo: "git+https://github.com/dinosaure/esperanto.git"
build: [
[ "sh" "-c" "cd toolchain && ./configure.sh --prefix=%{prefix}%" ]
[ make "-C" "toolchain" "all" "V=1" ]
]
# We should depend on conf-binutils but the package does not work on FreeBSD
# even if we can do [pkg install binutils] on FreeBSD 12
# depends: [
# "conf-binutils"
# ]
install: [ make "-C" "toolchain" "install" ]
synopsis: "Cosmopolitan toolchain for OCaml compiler"
description: "A little toolchain for OCaml with Cosmopolitan"
available: [ arch = "x86_64" & (os = "linux" | os = "freebsd" | os = "openbsd") ]
url {
src: "https://github.com/dinosaure/esperanto/releases/download/v0.0.3/esperanto-v0.0.3.tar.gz"
checksum: "sha512=cd3caf25716a185431cd97fa7a9b3a7e6a286819cc83d0e1fe1f1f94f3985f5a6f4a328511f8b7f8c26b9f3eb0d24ff586bb8095b2d5475ceb42ea1e224cce67"
}