void-packages/srcpkgs/vc/template

23 lines
675 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'vc'
pkgname=vc
version=1.4.0
revision=1
wrksrc="Vc-${version}"
build_style=cmake
configure_args="-DTARGET_ARCHITECTURE=generic"
short_desc="Library to ease explicit vectorization of C++ code"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://github.com/VcDevel/Vc"
distfiles="${homepage}/releases/download/${version}/Vc-${version}.tar.gz"
checksum=e6cfc056eb3a72a57751e768ba63236ebf2711d267fbd1dc0acfee0ac16fdf68
# CMAKE_SYSTEM_PROCESSOR isnt set when cross compiling
case "$XBPS_TARGET_MACHINE" in
mips*) broken="No optimized implementation of the Vc types available";;
esac
post_install() {
vlicense LICENSE
}