summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-19 13:21:45 -0600
committerGitHub <noreply@github.com>2021-05-19 21:21:45 +0200
commita0af8c9c65d2295cd6071ecba3bc492f35ff38de (patch)
tree70ffe59fb0511bfc2191ba2c1eeef598f6329c6c
parent944be7a568d00c98ed1f367b46ef82d35a8bddc1 (diff)
downloadspack-a0af8c9c65d2295cd6071ecba3bc492f35ff38de.tar.gz
spack-a0af8c9c65d2295cd6071ecba3bc492f35ff38de.tar.bz2
spack-a0af8c9c65d2295cd6071ecba3bc492f35ff38de.tar.xz
spack-a0af8c9c65d2295cd6071ecba3bc492f35ff38de.zip
libdeflate: new package (#23762)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/libdeflate/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libdeflate/package.py b/var/spack/repos/builtin/packages/libdeflate/package.py
new file mode 100644
index 0000000000..1af7e00630
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libdeflate/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 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 import *
+
+
+class Libdeflate(MakefilePackage):
+ """Heavily optimized library for DEFLATE/zlib/gzip compression and decompression"""
+
+ homepage = "https://github.com/ebiggers/libdeflate"
+ url = "https://github.com/ebiggers/libdeflate/archive/v1.7.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('1.7', sha256='a5e6a0a9ab69f40f0f59332106532ca76918977a974e7004977a9498e3f11350')
+
+ depends_on('zlib')
+ depends_on('gzip')
+
+ def patch(self):
+ filter_file(r'\/usr\/local', self.prefix, 'Makefile')