void-packages/srcpkgs/rust-sccache/template

28 lines
928 B
Bash

# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.7.6
revision=1
build_style=cargo
# 1. requires expensive extra feature 2. requires clang 3. requires libc
make_check_args="-- --skip test_s3_invalid_args --skip test_sccache_command
--skip dist::pkg::toolchain_imp::test_ldd_parse_v2_30"
hostmakedepends="pkg-config"
makedepends="openssl-devel libzstd-devel"
short_desc="Sccache is a ccache-like tool"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Apache-2.0"
homepage="https://crates.io/crates/sccache"
changelog="https://github.com/mozilla/sccache/releases"
distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
checksum=5f6b00cd9ab2d2401e7cd8e3f1794375e0af4ea570f1148cfadb2850f9085a3e
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
pre_check() {
# tries to spawn /usr/bin/cargo and fails
rm -f tests/sccache_cargo.rs
}