diff --git a/srcpkgs/highway/template b/srcpkgs/highway/template new file mode 100644 index 00000000000..47c51ec1d61 --- /dev/null +++ b/srcpkgs/highway/template @@ -0,0 +1,19 @@ +# Template file for 'highway' +pkgname=highway +version=1.0.4 +revision=1 +build_style=cmake +configure_args="-DHWY_SYSTEM_GTEST=ON -DHWY_ENABLE_EXAMPLES=OFF" +makedepends="libatomic-devel" +checkdepends="gtest-devel" +short_desc="C++ library providing portable SIMD/vector intrinsics" +maintainer="Joshua Krämer " +license="Apache-2.0" +homepage="https://github.com/google/highway" +changelog="https://raw.githubusercontent.com/google/highway/master/debian/changelog" +distfiles="https://github.com/google/highway/archive/${version}.tar.gz" +checksum=faccd343935c9e98afd1016e9d20e0b8b89d908508d1af958496f8c2d3004ac2 + +if [ -z "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTING=OFF" +fi