libzip/1.11.4-cpeAMD-26.03 (libzip-1.11.4-cpeAMD-26.03.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider libzip/1.11.4-cpeAMD-26.03.
EasyConfig:
easyblock = 'CMakeMake'
local_libzip_version = '1.11.4' # https://github.com/nih-at/libzip
local_zlib_version = '2.3.3' # https://github.com/zlib-ng/zlib-ng/releases
local_bzip2_version = '1.0.8' # http://www.bzip.org/downloads.html
local_XZ_version = '5.8.3' # https://tukaani.org/xz/
local_zstd_version = '1.5.7' # https://github.com/facebook/zstd/releases
name = 'libzip'
version = local_libzip_version
homepage = 'https://libzip.org/'
whatis = [
'Description: libzip is a C library for reading, creating, and modifying zip archives.'
]
description = """
libzip is a C library for reading, creating, and modifying zip archives.
"""
doc_urls = [
'Web-based documentation on https://libzip.org/'
]
toolchain = {'name': 'cpeAMD', 'version': '26.03'}
sources = [{
'filename': SOURCELOWER_TAR_GZ,
'download_filename': 'v%(version)s.tar.gz',
'source_urls': ['https://github.com/nih-at/libzip/archive/']
}]
checksums = ['4844595615e2436e3cf1ed46a1b260fbdaf8b8fa8f2b594e8b5d8162c696b8b2']
build_deps = [
('buildtools', '%(toolchain_version)s', '', True)
]
deps = [
('zlib', local_zlib_version),
('bzip2', local_bzip2_version),
('XZ', local_XZ_version),
('zstd', local_zstd_version),
]
pre_configure_opts = 'module unload cray-mpich cray-libsci && '
pre_install_opts = pre_test_opts = pre_build_opts = pre_configure_opts
configure_opts = [
'-DBUILD_SHARED_LIBS=OFF',
'-DBUILD_SHARED_LIBS=ON',
]
post_install_cmds = [
'mkdir -p %(installdir)s/share/licenses/%(name)s',
'cd ../%(namelower)s-%(version)s && cp AUTHORS LICENSE NEWS.md README.md SECURITY.md THANKS %(installdir)s/share/licenses/%(name)s',
]
sanity_check_paths = {
'files': [
'bin/zipcmp',
'bin/zipmerge',
'bin/ziptool',
'lib64/libzip.a',
f'lib64/libzip.{SHLIB_EXT}',
],
'dirs': ['include', 'lib/pkgconfig'],
}
sanity_check_cmds = [
'zipcmp -h',
'zipmerge -h',
'ziptool -h',
'pkg-config --validate libzip',
f'pkg-config --exact-version={version} libzip'
]
env_mod_category = 'lib'