Skip to content

Commit

Permalink
rust-sccache: update to 0.2.15, add dist-server
Browse files Browse the repository at this point in the history
  • Loading branch information
Logarithmus committed Mar 26, 2021
1 parent 93e42c7 commit fc98513
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions srcpkgs/rust-sccache-dist
18 changes: 14 additions & 4 deletions srcpkgs/rust-sccache/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.2.13
revision=3
version=0.2.15
revision=1
wrksrc="${pkgname/rust-/}-${version}"
build_style=cargo
configure_args="--features dist-client,dist-server"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
checkdepends="cargo"
short_desc="Sccache is a ccache-like tool"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Apache-2.0"
homepage="https://crates.io/crates/sccache"
distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
checksum=34b8eaab25eb467e9796c2f3ad7524c8548bf3afed962a922dd0b40ed2472ef7
checksum=cd1b19d56224beccdbf3fcc1fac1b21d58ddad64eed7fc1288db84d227bcebf7

case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac

pre_build() {
cargo update --package openssl-sys --precise 0.9.58
cargo update --package openssl-sys
}

rust-sccache-dist_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - distributed builds server"
pkg_install() {
vmove usr/bin/sccache-dist
}
}

0 comments on commit fc98513

Please sign in to comment.