void-packages/srcpkgs/simde/template

28 lines
810 B
Bash

# Template file for 'simde'
pkgname=simde
version=0.8.2
revision=1
build_style=meson
short_desc="Implementations of SIMD instruction sets"
maintainer="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://github.com/simd-everywhere/simde"
changelog="https://github.com/simd-everywhere/simde/releases"
distfiles="https://github.com/simd-everywhere/simde/archive/refs/tags/v${version}.tar.gz"
checksum=ed2a3268658f2f2a9b5367628a85ccd4cf9516460ed8604eed369653d49b25fb
# if [ "$XBPS_TARGET_LIBC" = musl ]; then
# # /usr/bin/ld: <artificial>:(.text+0x1105): undefined reference to `roundeven'
# make_check=no
# fi
if [ "$XBPS_CHECK_PKGS" ] && [ "$XBPS_TARGET_LIBC" != musl ]; then
configure_args+=" -Dtests=true"
else
configure_args+=" -Dtests=false"
fi
post_install() {
vlicense COPYING
}