mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
+solana (#1338)
This commit is contained in:
parent
d2ae207140
commit
b9c40602ba
1 changed files with 55 additions and 0 deletions
55
projects/solana.com/package.yml
Normal file
55
projects/solana.com/package.yml
Normal file
|
@ -0,0 +1,55 @@
|
|||
distributable:
|
||||
url: https://github.com/solana-labs/solana/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: solana-labs/solana
|
||||
|
||||
dependencies:
|
||||
protobuf.dev: ^21
|
||||
zlib.net: ^1.2
|
||||
openssl.org: ^1.1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
protobuf.dev: ^21
|
||||
rust-lang.org/cargo: '*'
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
script: |
|
||||
for x in \
|
||||
cli \
|
||||
bench-streamer \
|
||||
faucet \
|
||||
keygen \
|
||||
log-analyzer \
|
||||
net-shaper \
|
||||
stake-accounts \
|
||||
sys-tuner \
|
||||
tokens \
|
||||
watchtower
|
||||
do
|
||||
cargo install --locked --root {{prefix}} --path $x
|
||||
done
|
||||
env:
|
||||
# TODO this should be fixed in brewkit
|
||||
linux/aarch64:
|
||||
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
|
||||
linux/x86-64:
|
||||
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
||||
provides:
|
||||
- bin/solana
|
||||
- bin/solana-keygen
|
||||
- bin/solana-bench-streamer
|
||||
- bin/solana-faucet
|
||||
- bin/solana-keygen
|
||||
- bin/solana-log-analyzer
|
||||
- bin/solana-net-shaper
|
||||
- bin/solana-stake-accounts
|
||||
- bin/solana-sys-tuner
|
||||
- bin/solana-tokens
|
||||
- bin/solana-watchtower
|
||||
|
||||
test: |
|
||||
solana-keygen new --no-bip39-passphrase --no-outfile
|
||||
solana-keygen --version | grep {{version}}
|
Loading…
Reference in a new issue