void-packages/srcpkgs/eigen/template

22 lines
614 B
Bash

# Template file for 'eigen'
pkgname=eigen
version=3.3.7
revision=1
archs=noarch
wrksrc=eigen-eigen-323c052e1731
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.0-or-later, LGPL-2.1-or-later, BSD-3-Clause"
homepage="https://eigen.tuxfamily.org/"
distfiles="https://bitbucket.org/eigen/eigen/get/${version}.tar.bz2"
checksum=9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce
post_extract() {
sed -i '/add_subdirectory(unsupported)/d' CMakeLists.txt
}
post_install() {
vlicense COPYING.BSD
}