Files
MX_Pmodule/Compiler/eigen/build
Achim Gsell 056104c3dc eigen: fix directory where header files are installed
Eigen installs header files by default in
${EIGEN_INCLUDE_DIR}/eigen3.
2022-06-13 17:18:01 +02:00

22 lines
402 B
Plaintext
Executable File

#!/usr/bin/env modbuild
#
pbuild::add_to_group 'Compiler'
pbuild::set_download_url "https://gitlab.com/libeigen/$P/-/archive/${V_PKG}/$P-${V_PKG}.tar.bz2"
pbuild::pre_configure(){
pbuild::add_configure_args "-DINCLUDE_INSTALL_DIR=${PREFIX}include"
}
pbuild::post_install(){
cd "${PREFIX}/include"
ln -s . eigen3
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End: