diff --git a/testing/cargo/build b/testing/cargo/build new file mode 100755 index 00000000..4c7a2a5f --- /dev/null +++ b/testing/cargo/build @@ -0,0 +1,11 @@ +#!/bin/sh + +mkdir -p target/snapshot +cp cargo-bootstrap/cargo/bin/cargo cargo + +./cargo update +./cargo build --release + +install -Dm755 target/release/cargo "$1/usr/bin/cargo" +install -d "$1/usr/share/man/man1" +install -m644 src/etc/man/* "$1/usr/share/man/man1" diff --git a/testing/cargo/checksums b/testing/cargo/checksums new file mode 100644 index 00000000..e6c48407 --- /dev/null +++ b/testing/cargo/checksums @@ -0,0 +1,2 @@ +377e1090e9ce21206270576193746499a26e8ffbd8b89ccd5f8eb1085ca00e3b 0.37.0.tar.gz +53975d91e11569f2255d8e30176f05f6976cd810725197a527b0e7ad547ca70c cargo-0.37.0-x86_64-unknown-linux-musl.tar.xz diff --git a/testing/cargo/depends b/testing/cargo/depends new file mode 100644 index 00000000..d7c2c5c3 --- /dev/null +++ b/testing/cargo/depends @@ -0,0 +1,7 @@ +libressl +rust +zlib +cmake make +curl make +pkgconf make +python make diff --git a/testing/cargo/sources b/testing/cargo/sources new file mode 100644 index 00000000..4f0ba681 --- /dev/null +++ b/testing/cargo/sources @@ -0,0 +1,2 @@ +https://github.com/rust-lang/cargo/archive/0.37.0.tar.gz +https://static.rust-lang.org/dist/cargo-0.37.0-x86_64-unknown-linux-musl.tar.xz cargo-bootstrap/ diff --git a/testing/cargo/version b/testing/cargo/version new file mode 100644 index 00000000..6eec1d78 --- /dev/null +++ b/testing/cargo/version @@ -0,0 +1 @@ +0.37.0 1