mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Add rustup
This commit is contained in:
parent
47af95acad
commit
be58d032aa
1 changed files with 28 additions and 0 deletions
28
projects/rust-lang.org/rustup/package.yml
Normal file
28
projects/rust-lang.org/rustup/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/rust-lang/rustup/archive/{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: rust-lang/rustup/tags
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
curl.se: '*'
|
||||||
|
openssl.org: ^1
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
freedesktop.org/pkg-config: ^0.29
|
||||||
|
script: |
|
||||||
|
cargo run --release -- -y
|
||||||
|
mkdir -p "{{ prefix }}"/bin
|
||||||
|
mv ~/.cargo/bin/rustup "{{ prefix }}"/bin
|
||||||
|
env:
|
||||||
|
RUSTUP_INIT_SKIP_PATH_CHECK: yes
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/rustup
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
rustup --version
|
Loading…
Reference in a new issue