void-packages/srcpkgs/libvdt/template

29 lines
780 B
Bash

# Template file for 'libvdt'
pkgname=libvdt
version=0.4.3
revision=1
build_style=cmake
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) ;;
*)
configure_args="-DSSE=OFF -DNEON=OFF"
make_cmd=make
export CMAKE_GENERATOR="Unix Makefiles"
;;
esac
hostmakedepends="python3"
short_desc="Collection of fast and inline implementations of mathematical functions"
maintainer="Ben Jargowsky <benjar63@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/dpiparo/vdt"
distfiles="https://github.com/dpiparo/vdt/archive/refs/tags/v${version}.tar.gz"
checksum=705674612ebb5c182b65a8f61f4d173eb7fe7cdeee2235b402541a492e08ace1
libvdt-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}