cargo-bin: new package
This new package fetches a binary version of Cargo, suitable to bootstrap the host variants of the Rust compiler and Cargo, the package manager. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
194bcaeae3
commit
c7a189c661
@ -541,6 +541,7 @@ F: package/xxhash/
|
||||
N: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
F: docs/manual/adding-packages-meson.txt
|
||||
F: package/adwaita-icon-theme/
|
||||
F: package/cargo-bin/
|
||||
F: package/darkhttpd/
|
||||
F: package/eudev/
|
||||
F: package/execline/
|
||||
|
8
package/cargo-bin/cargo-bin.hash
Normal file
8
package/cargo-bin/cargo-bin.hash
Normal file
@ -0,0 +1,8 @@
|
||||
# From https://static.rust-lang.org/dist/cargo-0.24.0-i686-unknown-linux-gnu.tar.xz.sha256
|
||||
sha256 6ffc847e0ee2a1273223ce500f7b212d051e99a6d234e34585d0c55e21a963ea cargo-0.24.0-i686-unknown-linux-gnu.tar.xz
|
||||
# From https://static.rust-lang.org/dist/cargo-0.24.0-x86_64-unknown-linux-gnu.tar.xz.sha256
|
||||
sha256 93b953c8c7a2088aef952de8dccd7f6ccf9b21bf94b735d3909961ffe831da8c cargo-0.24.0-x86_64-unknown-linux-gnu.tar.xz
|
||||
# Locally generated
|
||||
sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE
|
||||
sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT
|
||||
sha256 8bd89f9222dc80292f4107347103b693ac66f3a083371f0629ccf42338abe880 LICENSE-THIRD-PARTY
|
13
package/cargo-bin/cargo-bin.mk
Normal file
13
package/cargo-bin/cargo-bin.mk
Normal file
@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# cargo-bin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CARGO_BIN_VERSION = 0.24.0
|
||||
CARGO_BIN_SITE = https://static.rust-lang.org/dist
|
||||
CARGO_BIN_SOURCE = cargo-$(CARGO_BIN_VERSION)-$(RUST_HOST_NAME).tar.xz
|
||||
CARGO_BIN_LICENSE = Apache-2.0 or MIT
|
||||
CARGO_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
$(eval $(host-generic-package))
|
Loading…
Reference in New Issue
Block a user