Skip to content

Commit 7f05797

Browse files
Package tezos-rust-libs.1.5
1 parent 3f793b1 commit 7f05797

File tree

1 file changed

+54
-0
lines changed
  • packages/tezos-rust-libs/tezos-rust-libs.1.5

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
synopsis: "Tezos: all rust dependencies and their dependencies"
3+
maintainer: "[email protected]"
4+
authors: "Tezos devteam"
5+
license: "LicenseRef-multiple"
6+
homepage: "https://www.tezos.com/"
7+
bug-reports: "https://gitlab.com/tezos/tezos-rust-libs/issues"
8+
depends: ["conf-rust-2021"]
9+
build: [
10+
[
11+
"cargo"
12+
"build"
13+
"--target-dir"
14+
"target-librustzcash"
15+
"--release"
16+
"--package"
17+
"librustzcash"
18+
]
19+
[
20+
"cargo"
21+
"build"
22+
"--target-dir"
23+
"target-wasmer"
24+
"--release"
25+
"--package"
26+
"wasmer-c-api"
27+
"--no-default-features"
28+
"--features"
29+
"singlepass,cranelift,wat,middlewares,universal"
30+
]
31+
]
32+
install: [
33+
["mkdir" "-p" "%{lib}%/tezos-rust-libs"]
34+
["mkdir" "-p" "%{lib}%/tezos-rust-libs/rust"]
35+
[
36+
"cp"
37+
"librustzcash/include/librustzcash.h"
38+
"target-librustzcash/release/librustzcash.a"
39+
"wasmer-2.3.0/lib/c-api/wasm.h"
40+
"wasmer-2.3.0/lib/c-api/wasmer.h"
41+
"target-wasmer/release/libwasmer.a"
42+
"%{lib}%/tezos-rust-libs"
43+
]
44+
["cp" "librustzcash/include/rust/types.h" "%{lib}%/tezos-rust-libs/rust"]
45+
]
46+
dev-repo: "git+https://gitlab.com/tezos/tezos-rust-libs.git"
47+
url {
48+
src:
49+
"https://gitlab.com/tezos/tezos-rust-libs/-/archive/v1.5/tezos-rust-libs-v1.5.zip"
50+
checksum: [
51+
"md5=e6b78c9928d9e581c09ac040d217cdc9"
52+
"sha512=94deea6f1cbc5390545d7997449514661a0920aee7f78774fef70bc65a70367cb8fad9f6af0786a451f0295edc32ead6503d6f2558fe6c5035e082a9736629a3"
53+
]
54+
}

0 commit comments

Comments
 (0)