void-packages/srcpkgs/rust-sccache/template

24 lines
672 B
Bash

# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.2.13
revision=3
wrksrc="${pkgname/rust-/}-${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-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"
distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
checksum=34b8eaab25eb467e9796c2f3ad7524c8548bf3afed962a922dd0b40ed2472ef7
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
}