void-packages/srcpkgs/eigen3.2/template

26 lines
761 B
Bash

# Template file for 'eigen3.2'
pkgname=eigen3.2
version=3.2.10
revision=3
wrksrc="eigen-${version}"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release"
short_desc="C++ template library for linear algebra (version 3.x)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0, GPL-3.0-or-later, LGPL-2.1-or-later, BSD-3-Clause"
homepage="http://eigen.tuxfamily.org/"
distfiles="https://gitlab.com/libeigen/eigen/-/archive/${version}/eigen-${version}.tar.bz2"
checksum=1c982c9fa13422e885fcd82a140dbc6e5e6cd066deed38ba0b8051b70462e4d1
conflicts="eigen>0"
do_check() {
export EIGEN_CTEST_ARGS=${makejobs}
cd build
./check.sh '.*' || : "2 test failed, in unsupported section"
}
post_install() {
vlicense COPYING.BSD
vlicense COPYING.MINPACK
}