void-packages/srcpkgs/rust-sccache/template

24 lines
701 B
Bash

# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.2.12
revision=1
wrksrc="${pkgname/rust-/}-${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-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=dfbf49fad5edeb3a1ead50a41eea2d115ce591342f5d8f6b60b00dd76bec3c49
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="ftbfs in ring" ;;
esac
pre_build() {
cargo update --package openssl-sys --precise 0.9.49
cargo update --package openssl:0.10.15 --precise 0.10.24
}