diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-06-27 09:44:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 18:44:03 +0200 |
commit | 78882c5569341820431cd5303e2cc8a267579182 (patch) | |
tree | ef4f7eff662ef3c7259bb4d43bacc54306670be0 | |
parent | 7bce92ad46f2062e626e33fce1c1ec0400c37f94 (diff) | |
download | spack-78882c5569341820431cd5303e2cc8a267579182.tar.gz spack-78882c5569341820431cd5303e2cc8a267579182.tar.bz2 spack-78882c5569341820431cd5303e2cc8a267579182.tar.xz spack-78882c5569341820431cd5303e2cc8a267579182.zip |
brunsli: add new package (#31240)
-rw-r--r-- | var/spack/repos/builtin/packages/brunsli/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/brunsli/package.py b/var/spack/repos/builtin/packages/brunsli/package.py new file mode 100644 index 0000000000..882f03004a --- /dev/null +++ b/var/spack/repos/builtin/packages/brunsli/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2022 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 Brunsli(CMakePackage): + """Brunsli is a lossless JPEG repacking library.""" + + homepage = "https://github.com/google/brunsli" + git = "https://github.com/google/brunsli.git" + + version('0.1', tag='v0.1', submodules=True) + + depends_on('cmake@3.1:', type='build') + + @property + def libs(self): + return find_libraries( + ['libbrunslidec-c', 'libbrunslienc-c'], root=self.prefix, recursive=True + ) |