Proteus v1.4.0 as the first version in PModules Directly dependency with ROOT software. Required also Eigen (Pmodule) when compiling, Doxygen (PModule) and Sphinx (python-sphinx as local package) for building the documentation.
22 lines
582 B
Plaintext
Executable File
22 lines
582 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
pbuild::set_download_url "https://gitlab.cern.ch/proteus/proteus/-/archive/v${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}/proteus-v${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}.tar.gz"
|
|
|
|
pbuild::add_to_group 'Compiler'
|
|
pbuild::install_docfiles 'LICENSE' 'README.md' 'Changelog'
|
|
|
|
pbuild::pre_configure_Linux() {
|
|
pbuild::use_cmake
|
|
pbuild::add_configure_args "-DPROTEUS_ENABLE_DOC=on"
|
|
pbuild::add_configure_args "-DEIGEN_INCLUDE_DIR=${EIGEN_INCLUDE_DIR}"
|
|
}
|
|
|
|
pbuild::compile() {
|
|
cmake --build . -- -j6 VERBOSE=1
|
|
}
|
|
|
|
pbuild::install() {
|
|
cmake --build . --target install
|
|
}
|
|
|