void-packages/srcpkgs/cargo-deny/template
2020-01-22 13:36:20 +01:00

27 lines
782 B
Bash

# Template file for 'cargo-deny'
pkgname=cargo-deny
version=0.6.0
revision=1
build_style=cargo
hostmakedepends="pkg-config perl"
makedepends="libressl-devel"
short_desc="Cargo plugin to help you manage large dependency graphs"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://github.com/EmbarkStudios/cargo-deny"
distfiles="https://github.com/EmbarkStudios/cargo-deny/archive/${version}.tar.gz"
checksum=8c08619a66b2102498facf1ccc11896589981cd0ebf0972ed50efe48d2abb4f9
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="bitvec crate unimplemented for big endian"
fi
pre_build() {
cargo update --package openssl-sys --precise 0.9.53
}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vdoc README.md
}