Add the very first version of cernlib package (#33911)
* Add the very first version of cernlib * Update package.py * Update package.py Co-authored-by: Andrii Verbytskyi <andriish@pcatlas18.mpp.mpg.de>
This commit is contained in:
parent
f71701f39d
commit
a7b5f2ef39
28
var/spack/repos/builtin/packages/cernlib/package.py
Normal file
28
var/spack/repos/builtin/packages/cernlib/package.py
Normal file
@ -0,0 +1,28 @@
|
||||
# Copyright 2013-2022 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.package import *
|
||||
|
||||
|
||||
class Cernlib(CMakePackage):
|
||||
"""CERN Library"""
|
||||
|
||||
homepage = "https://cernlib.web.cern.ch"
|
||||
url = "https://cernlib.web.cern.ch/cernlib/download/2022_source/tar/cernlib-2022.11.08.0-free.tar.gz"
|
||||
|
||||
maintainers = ["andriish"]
|
||||
|
||||
version(
|
||||
"2022.11.08.0-free",
|
||||
sha256="733d148415ef78012ff81f21922d3bf641be7514b0242348dd0200cf1b003e46",
|
||||
)
|
||||
|
||||
depends_on("motif")
|
||||
depends_on("libx11")
|
||||
|
||||
def cmake_args(self):
|
||||
args = ["-DCERNLIB_BUILD_SHARED:BOOL=ON"]
|
||||
return args
|
Loading…
Reference in New Issue
Block a user