
* Style: black 23, skip magic trailing commas * isort should use same line length as black * Fix unused import * Update version of black used in CI * Update new packages * Update new packages
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
# 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 Asdcplib(AutotoolsPackage):
|
|
"""AS-DCP and AS-02 File Access Library."""
|
|
|
|
homepage = "https://github.com/cinecert/asdcplib"
|
|
url = "https://github.com/cinecert/asdcplib/archive/rel_2_10_35.tar.gz"
|
|
|
|
version("2_10_35", sha256="a68eec9ae0cc363f75331dc279c6dd6d3a9999a9e5f0a4405fd9afa8a29ca27b")
|
|
version("2_10_34", sha256="faa54ee407c1afceb141e08dae9ebf83b3f839e9c49a1793ac741ec6cdee5c3c")
|
|
version("2_10_33", sha256="16fafb5da3d46b0f44570ef9780c85dd82cca60106a9e005e538809ea1a95373")
|
|
version("2_10_32", sha256="fe5123c49980ee3fa25dea876286f2ac974d203bfcc6c77fc288a59025dee3ee")
|
|
|
|
depends_on("m4", type="build")
|
|
depends_on("autoconf", type="build")
|
|
depends_on("automake", type="build")
|
|
depends_on("libtool", type="build")
|
|
depends_on("openssl", type=("build", "link"))
|
|
|
|
def configure_args(self):
|
|
spec = self.spec
|
|
|
|
args = ["--with-openssl={0}".format(spec["openssl"].prefix)]
|
|
|
|
return args
|