void-packages/srcpkgs/rust-sccache/template

28 lines
928 B
Bash

# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.7.7
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=578f230c68caf909e056db3be748acfe19cd7e5bc5b985a27e4e63b826b9777c
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
}