Skip to content

Commit

Permalink
New package: rust-sccache-dist-0.2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Logarithmus committed May 5, 2021
1 parent 552f49d commit 0d5970d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions srcpkgs/rust-sccache-dist/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'rust-sccache-dist'
pkgname=rust-sccache-dist
version=0.2.15
revision=1
archs="x86_64*"
wrksrc="sccache-${version}"
build_style=cargo
configure_args="--no-default-features --features dist-server"
hostmakedepends="pkgconf"
makedepends="openssl-devel"
checkdepends="cargo"
short_desc="Ccache-like tool for Rust, C/C++ & more - server for distributed builds"
maintainer="Enno Boland <[email protected]>"
license="Apache-2.0"
homepage="https://crates.io/crates/sccache"
distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
checksum=cd1b19d56224beccdbf3fcc1fac1b21d58ddad64eed7fc1288db84d227bcebf7
make_check=extended

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

post_install() {
rm ${DESTDIR}/usr/bin/sccache
}
1 change: 1 addition & 0 deletions srcpkgs/rust-sccache/template
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version=0.2.15
revision=1
wrksrc="${pkgname/rust-/}-${version}"
build_style=cargo
configure_args="--features all"
hostmakedepends="pkgconf"
makedepends="openssl-devel"
checkdepends="cargo"
Expand Down

0 comments on commit 0d5970d

Please sign in to comment.