spack/var/spack/repos/builtin/packages/liblockfile/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

26 lines
753 B
Python

# Copyright 2013-2024 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 Liblockfile(AutotoolsPackage):
"""NFS-safe locking library"""
homepage = "https://github.com/miquels/liblockfile"
url = "https://github.com/miquels/liblockfile/archive/v1.14.tar.gz"
license("LGPL-2.0-or-later AND GPL-2.0-or-later")
version("1.14", sha256="be85dba347889d9b65cbd361a611e6b88e044fdca9c98e5139d5fbc9ba37ccc8")
depends_on("c", type="build") # generated
patch("install_as_nonroot.patch")
def configure_args(self):
args = ["--enable-shared"]
return args