parent
f6039d1d45
commit
124e41da23
1 changed files with 37 additions and 0 deletions
37
var/spack/repos/tutorial/packages/libpspio/package.py
Normal file
37
var/spack/repos/tutorial/packages/libpspio/package.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Copyright 2013-2023 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 Libpspio(AutotoolsPackage):
|
||||
"""Library to perform I/O operations on pseudopotential data files."""
|
||||
|
||||
homepage = "https://gitlab.com/ElectronicStructureLibrary/libpspio"
|
||||
url = "https://gitlab.com/ElectronicStructureLibrary/libpspio/-/archive/0.3.0/libpspio-0.3.0.tar.gz"
|
||||
|
||||
maintainers("hmenke")
|
||||
|
||||
license("MPL-2.0")
|
||||
|
||||
version("0.3.0", sha256="4dc092457e481e5cd703eeecd87e6f17749941fe274043550c8a2557a649afc5")
|
||||
|
||||
variant("fortran", default=False, description="Enable Fortran bindings")
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("m4", type="build")
|
||||
depends_on("pkgconfig", type="build")
|
||||
|
||||
depends_on("check")
|
||||
depends_on("gsl")
|
||||
|
||||
def autoreconf(self, spec, prefix):
|
||||
Executable("./autogen.sh")()
|
||||
|
||||
def configure_args(self):
|
||||
args = self.enable_or_disable("fortran")
|
||||
return args
|
Loading…
Reference in a new issue