void-packages/srcpkgs/vc/template

22 lines
676 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.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="Orphaned <orphan@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 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
}