From 3bff336a438c17e40100d5562c30ad83b16033d4 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 10 Jan 2019 16:22:21 +0100 Subject: [PATCH] clhep build-block added --- Compiler/clhep/build | 21 +++++++++++++++++++++ Compiler/clhep/files/variants | 1 + Compiler/clhep/modulefile | 13 +++++++++++++ 3 files changed, 35 insertions(+) create mode 100755 Compiler/clhep/build create mode 100644 Compiler/clhep/files/variants create mode 100644 Compiler/clhep/modulefile diff --git a/Compiler/clhep/build b/Compiler/clhep/build new file mode 100755 index 0000000..1a6e73e --- /dev/null +++ b/Compiler/clhep/build @@ -0,0 +1,21 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/$P-${V_PKG}.tgz" + +pbuild::add_to_group 'Compiler' + +pbuild::install_docfiles 'ChangeLog' +pbuild::install_docfiles 'compilers.txt' +pbuild::install_docfiles 'COPYING' +pbuild::install_docfiles 'COPYING.LESSER' +pbuild::install_docfiles 'README.md' + +pbuild::post_prep() { + mv CLHEP/* . +} + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Compiler/clhep/files/variants b/Compiler/clhep/files/variants new file mode 100644 index 0000000..b04f526 --- /dev/null +++ b/Compiler/clhep/files/variants @@ -0,0 +1 @@ +clhep/2.4.1.0 unstable gcc/7.3.0 b:cmake/3.9.6 diff --git a/Compiler/clhep/modulefile b/Compiler/clhep/modulefile new file mode 100644 index 0000000..922546c --- /dev/null +++ b/Compiler/clhep/modulefile @@ -0,0 +1,13 @@ +#%Module1.0 + +module-whatis "class library for high energy physics" +module-url "https://proj-clhep.web.cern.ch/proj-clhep/" +module-license "GNU GPL, GNU GLPL" +module-maintainer "Achim Gsell " +module-help " +The CLHEP project was proposed by Leif Lönnblad at CHEP 92. It is intended +to be a set of HEP-specific foundation and utility classes such as random +generators, physics vectors, geometry and linear algebra. CLHEP is structured +in a set of packages independent of any external package (interdependencies +within CLHEP are allowed under certain conditions). +"