Switch to new download format and update source.sh script

This commit is contained in:
2025-10-28 10:35:23 +02:00
parent 17526b42cb
commit 5d2b19f6d1
2 changed files with 47 additions and 21 deletions
+29 -4
View File
@@ -1,16 +1,41 @@
name: rustc
description: The rust programming language compiler
version: 1.90.0
revision: 2
url: https://www.rust-lang.org/
license: Apache-2.0 or MIT
architecture: any
depends: ["curl","gcc","glibc","libssh2","lld","llvm-libs","openssl","zlib"]
optional_depends: ["gdb"]
make_depends: ["clang","cmake","libffi","llvm","perl","python3","rustc","gdb","procps-ng"]
type: source
depends:
- curl
- gcc
- glibc
- libssh2
- lld
- llvm-libs
- openssl
- zlib
optional_depends:
- gdb
make_depends:
- clang
- cmake
- libffi
- llvm
- perl
- python3
- rustc
- gdb
- procps-ng
downloads:
- url: https://static.rust-lang.org/dist/rustc-${BPM_PKG_VERSION}-src.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 6bfeaddd90ffda2f063492b092bfed925c4b8c701579baf4b1316e021470daac
split_packages:
- name: rustc
description: Rust documentation
- name: rust-src
description: Rust standard library source code
depends: ["rustc"]
depends:
- rustc