blob: a2620d918fc6705492d0789788feb7594d4218bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RecolaSm(CMakePackage):
"""Standard Model files for the Recola generator."""
tags = ['hep']
homepage = "https://recola.gitlab.io/recola2/modelfiles/modelfiles.html"
url = "https://recola.hepforge.org/downloads/?f=SM_2.2.3.tar.gz"
maintainers = ['vvolkl']
version('2.2.3', sha256='9ebdc4fd8ca48789de0b6bbb2ab7e4845c92d19dfe0c3f67866cbf114d6242a5')
depends_on('collier')
def cmake_args(self):
args = [self.define('static', True),
self.define('collier_path', self.spec['collier'].prefix.lib.cmake)]
return args
|