cargo: update distfiles for static cargo builds

[ci skip]
This commit is contained in:
Rasmus Thomsen 2019-03-05 23:55:26 +01:00 committed by Johannes
parent f2a05f33b1
commit 43c444cf3b
1 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cargo'
pkgname=cargo
version=0.33.0
revision=2
revision=3
build_helper=rust
hostmakedepends="rust python curl cmake pkg-config"
makedepends="libcurl-devel libgit2-devel"
@ -21,11 +21,10 @@ if [ "$CROSS_BUILD" ]; then
else
case "$XBPS_MACHINE" in
x86_64-musl)
hostmakedepends+=" libgit2-0.27"
distfiles+="
https://alpha.de.repo.voidlinux.org/distfiles/cargo-${_cargo_dist_version}-x86_64-unknown-linux-musl.tar.xz"
checksum+="
6c519f5103e422650c3f69ac9b19303f829e9f9bb7e088d84dcd0318fd1b56c0"
7d3e669dc5ddde7529ab0df2d0397648a679426fc56dd4c93d94f84fd68366d5"
;;
x86_64)
distfiles+="
@ -43,19 +42,19 @@ else
distfiles+="
https://alpha.de.repo.voidlinux.org/distfiles/cargo-${_cargo_dist_version}-powerpc64le-unknown-linux-gnu.tar.xz"
checksum+="
bd22f3c2fad2be544a80c890a659cb5f1c5bf2d80f3f6a14be23d19000545d01"
03ece4d677ad59f08a514eb90dd3bd6cad4399fbbaf3d0e916323fbce38e25d1"
;;
ppc64le-musl)
distfiles+="
https://alpha.de.repo.voidlinux.org/distfiles/cargo-${_cargo_dist_version}-powerpc64le-unknown-linux-musl.tar.xz"
checksum+="
1db7c45306e3a424620ac2c6d07374a6ea0e3c6be0d3a546393188bf1fea1f02"
801490f04eac96e883f56434747042c375aa3d210b224c2735e02a3a1eab95a0"
;;
ppc64-musl)
distfiles+="
https://alpha.de.repo.voidlinux.org/distfiles/cargo-${_cargo_dist_version}-powerpc64-unknown-linux-musl.tar.xz"
checksum+="
a6b3f9ba055bb78ae70d31aed05d37969dee864fc003135f34f1bb92b6cd13b5"
ae90844974681c3ee85a855ae0ed27f06d22215e40f825f3b7ca705d8a7cfe7b"
;;
esac
fi