eigen3.2: upstream moved, fixes, remove noarch.

- upstream has moved to gitlab
- fix some xlint warnings
- remove noarch
- sgn: added do_check

Co-authored-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Close: #24677
This commit is contained in:
fosslinux 2020-09-05 08:26:04 +10:00 committed by Đoàn Trần Công Danh
parent fb6c584b7c
commit 3277fe0fc2

View file

@ -1,14 +1,24 @@
# Template file for 'eigen'
# Template file for 'eigen3.2'
pkgname=eigen3.2
version=3.2.10
revision=2
archs=noarch
wrksrc="eigen-eigen-b9cd8366d4e8"
revision=3
wrksrc="eigen-${version}"
build_style=cmake
short_desc="C++ template library for linear algebra (version 3.x)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0, GPL-3, LGPL-2.1"
license="MPL-2.0, GPL-3.0-or-later, LGPL-2.1-or-later, BSD-3-Clause"
homepage="http://eigen.tuxfamily.org/"
distfiles="http://bitbucket.org/eigen/eigen/get/${version}.tar.bz2"
checksum=760e6656426fde71cc48586c971390816f456d30f0b5d7d4ad5274d8d2cb0a6d
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
}