diff options
author | Pranav Sivaraman <pranavsivaraman@gmail.com> | 2024-11-18 14:19:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 11:19:14 -0800 |
commit | e3c05150769c60e0e8fdd7840adde2379ac4873c (patch) | |
tree | f3615231f79fce93cbfe68d3dc12699b3058739f | |
parent | 97406f241ceeae171d4d55e221f7447e537ae452 (diff) | |
download | spack-e3c05150769c60e0e8fdd7840adde2379ac4873c.tar.gz spack-e3c05150769c60e0e8fdd7840adde2379ac4873c.tar.bz2 spack-e3c05150769c60e0e8fdd7840adde2379ac4873c.tar.xz spack-e3c05150769c60e0e8fdd7840adde2379ac4873c.zip |
tinycbor: new package (#47623)
-rw-r--r-- | var/spack/repos/builtin/packages/tinycbor/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tinycbor/package.py b/var/spack/repos/builtin/packages/tinycbor/package.py new file mode 100644 index 0000000000..cd2c5a43bc --- /dev/null +++ b/var/spack/repos/builtin/packages/tinycbor/package.py @@ -0,0 +1,27 @@ +# 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 Tinycbor(MakefilePackage): + """Concise Binary Object Representation (CBOR) Library""" + + homepage = "https://github.com/intel/tinycbor" + url = "https://github.com/intel/tinycbor/archive/refs/tags/v0.6.0.tar.gz" + + license("MIT", checked_by="pranav-sivaraman") + + version("0.6.0", sha256="512e2c9fce74f60ef9ed3af59161e905f9e19f30a52e433fc55f39f4c70d27e4") + + depends_on("c", type="build") + depends_on("cxx", type="build") + + build_targets = ["CC=cc", "CXX=cxx"] + + @property + def install_targets(self): + return ["install", f"prefix={self.prefix}"] |