blob: 9cd4e7fc4df251d9760e7df2a492c8a55a47c352 (
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
28
29
30
31
32
33
34
35
36
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
|