28 lines
928 B
Bash
28 lines
928 B
Bash
# Template file for 'rust-sccache'
|
|
pkgname=rust-sccache
|
|
version=0.8.1
|
|
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=764e68aec5452a7d4e718f8b5ad0a15586798bb88a75830c860c057edc320f4e
|
|
|
|
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
|
|
}
|