Commit 709088f5 authored by Dmytro Kresan's avatar Dmytro Kresan
Browse files

Add molflow 2.9.4_beta

parent b415458c
......@@ -10,9 +10,11 @@ class Molflow(CMakePackage):
"""A Monte-Carlo Simulator package developed at CERN"""
homepage = "https://molflow.web.cern.ch/"
url = "https://gitlab.cern.ch/molflow_synrad/molflow/-/archive/v2.9.4_beta/molflow-v2.9.4_beta.tar.gz"
git = "https://gitlab.cern.ch/molflow_synrad/molflow.git/"
maintainers = ['ChristianTackeGSI']
version('2.9.4_beta', sha256='876ec0d1118e8c34c6b60cf071a2eef3bce90d2b4ba1e2b777aea0de3cae9b35')
version('2.9.3_beta', commit='26599088db87ddda2e3d1c5f6f9f2f93907873b9', submodules=True, no_cache=True)
depends_on('cmake@3.12.2:', type='build')
......@@ -22,7 +24,8 @@ class Molflow(CMakePackage):
self.define('NO_INTERFACE', True)
]
def install(self, spec, prefix):
mkdirp(prefix.bin)
install(join_path(self.build_directory, 'bin', 'molflowCLI'),
prefix.bin)
if self.spec.satisfies('2.9.3_beta'):
def install(self, spec, prefix):
mkdirp(prefix.bin)
install(join_path(self.build_directory, 'bin', 'molflowCLI'),
prefix.bin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment