-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
54 lines (54 loc) · 1.42 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
47
48
49
50
51
52
53
54
opam-version: "2.0"
synopsis: "Tezos: all rust dependencies and their dependencies"
maintainer: "contact@tezos.com"
authors: "Tezos devteam"
license: "LicenseRef-multiple"
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos-rust-libs/issues"
depends: ["conf-rust-2021"]
build: [
[
"cargo"
"build"
"--target-dir"
"target-librustzcash"
"--release"
"--package"
"librustzcash"
]
[
"cargo"
"build"
"--target-dir"
"target-wasmer"
"--release"
"--package"
"wasmer-c-api"
"--no-default-features"
"--features"
"singlepass,cranelift,wat,middlewares,universal"
]
]
install: [
["mkdir" "-p" "%{lib}%/tezos-rust-libs"]
["mkdir" "-p" "%{lib}%/tezos-rust-libs/rust"]
[
"cp"
"librustzcash/include/librustzcash.h"
"target-librustzcash/release/librustzcash.a"
"wasmer-2.3.0/lib/c-api/wasm.h"
"wasmer-2.3.0/lib/c-api/wasmer.h"
"target-wasmer/release/libwasmer.a"
"%{lib}%/tezos-rust-libs"
]
["cp" "librustzcash/include/rust/types.h" "%{lib}%/tezos-rust-libs/rust"]
]
dev-repo: "git+https://gitlab.com/tezos/tezos-rust-libs.git"
url {
src:
"https://gitlab.com/tezos/tezos-rust-libs/-/archive/v1.4/tezos-rust-libs-v1.4.zip"
checksum: [
"md5=0579c5b9be4c526f5a30586c1f80a864"
"sha512=387f6382e1eb8ea1a52abc02ffec50c61b1d18a7b6b9268a977763593ca0fbe28c24ba1076fcae36e963e3ce62aa78cd21e23223f8ab6a22b73fe09fdb4b9cfa"
]
}