2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-05-12 12:22:25 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2016-01-12 03:43:31 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
2017-08-04 23:38:54 +08:00
|
|
|
class Libszip(AutotoolsPackage):
|
2016-07-08 21:11:04 +08:00
|
|
|
"""Szip is an implementation of the extended-Rice lossless
|
|
|
|
compression algorithm.
|
2016-01-12 03:43:31 +08:00
|
|
|
|
2016-07-08 21:11:04 +08:00
|
|
|
It provides lossless compression of scientific data, and is
|
|
|
|
provided with HDF software products.
|
|
|
|
"""
|
2016-01-12 03:43:31 +08:00
|
|
|
|
2017-06-30 10:38:47 +08:00
|
|
|
homepage = "https://support.hdfgroup.org/doc_resource/SZIP/"
|
|
|
|
url = "https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-2.1.1.tar.gz"
|
|
|
|
list_url = "https://support.hdfgroup.org/ftp/lib-external/szip"
|
2017-12-07 09:28:11 +08:00
|
|
|
list_depth = 3
|
2016-07-08 18:29:49 +08:00
|
|
|
|
2017-08-04 23:38:54 +08:00
|
|
|
provides('szip')
|
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('2.1.1', sha256='21ee958b4f2d4be2c9cabfa5e1a94877043609ce86fde5f286f105f7ff84d412')
|
|
|
|
version('2.1', sha256='a816d95d5662e8279625abdbea7d0e62157d7d1f028020b1075500bf483ed5ef')
|
2016-01-12 03:43:31 +08:00
|
|
|
|
2016-07-08 21:11:04 +08:00
|
|
|
def configure_args(self):
|
2017-06-30 10:38:47 +08:00
|
|
|
return [
|
|
|
|
'--enable-production',
|
|
|
|
'--enable-shared',
|
|
|
|
'--enable-static',
|
|
|
|
'--enable-encoding',
|
|
|
|
]
|