23 lines
676 B
Bash
23 lines
676 B
Bash
# Template file for 'vc'
|
||
pkgname=vc
|
||
version=1.4.1
|
||
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.org>"
|
||
license="BSD-3-Clause"
|
||
homepage="https://github.com/VcDevel/Vc"
|
||
distfiles="${homepage}/releases/download/${version}/Vc-${version}.tar.gz"
|
||
checksum=68e609a735326dc3625e98bd85258e1329fb2a26ce17f32c432723b750a4119f
|
||
|
||
# CMAKE_SYSTEM_PROCESSOR isn’t set when cross compiling
|
||
case "$XBPS_TARGET_MACHINE" in
|
||
mips*) broken="No optimized implementation of the Vc types available";;
|
||
esac
|
||
|
||
post_install() {
|
||
vlicense LICENSE
|
||
}
|