easyconfigs-it4i/z/zlib/zlib-1.2.12.eb
easybuild b41f3dbc91 modified: h/hwloc/hwloc-2.8.0.eb
new file:   l/libevent/libevent-2.1.12.eb
	new file:   p/PMIx/PMIx-3.2.3.eb
	new file:   p/PMIx/PMIx-4.2.2.eb
	new file:   x/XALT/XALT-2.10.45-eb.cz
	new file:   z/zlib/zlib-1.2.12.eb
2023-01-13 11:50:39 +01:00

40 lines
1.1 KiB
Plaintext

# IT4Innovations 2023
# JK
easyblock = 'ConfigureMake'
name = 'zlib'
version = '1.2.12'
homepage = 'https://www.zlib.net/'
description = """
zlib is designed to be a free, general-purpose, legally unencumbered -- that
is, not covered by any patents -- lossless data-compression library for use
on virtually any computer hardware and operating system.
"""
toolchain = SYSTEM
toolchainopts = {'pic': True}
source_urls = ['https://zlib.net/fossils/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['zlib-%(version)s_fix-CC-logic-in-configure.patch']
checksums = [
'91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9', # zlib-1.2.12.tar.gz
'f35eb05334a4f8d7b40b6c5610a6369f654863b5fa1a19c2507888f918025238', # zlib-1.2.12_fix-CC-logic-in-configure.patch
]
# need to take care of $CFLAGS ourselves with dummy toolchain
# we need to add -fPIC, but should also include -O* option to avoid
# compiling with -O0 (default for GCC)
buildopts = 'CFLAGS="-O2 -fPIC"'
sanity_check_paths = {
'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a',
'lib/libz.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'lib'