diff --git a/srcpkgs/libvdt-devel b/srcpkgs/libvdt-devel new file mode 120000 index 00000000000..25fca34b383 --- /dev/null +++ b/srcpkgs/libvdt-devel @@ -0,0 +1 @@ +libvdt \ No newline at end of file diff --git a/srcpkgs/libvdt/template b/srcpkgs/libvdt/template new file mode 100644 index 00000000000..3caa629d6eb --- /dev/null +++ b/srcpkgs/libvdt/template @@ -0,0 +1,28 @@ +# Template file for 'libvdt' +pkgname=libvdt +version=0.4.3 +revision=1 +wrksrc="vdt-${version}" +build_style=cmake +case "$XBPS_TARGET_MACHINE" in + aarch64*|arm*) + 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 " +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 + } +}