libidn2/2.3.4-cpeGNU-23.09 (libidn2-2.3.4-cpeGNU-23.09.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider libidn2/2.3.4-cpeGNU-23.09
.
EasyConfig:
# Test build for inclusion in the baselibs 2020a bundle.
easyblock = 'ConfigureMake'
local_libidn2_version = '2.3.4' # https://ftp.gnu.org/gnu/libidn/
name = 'libidn2'
version = local_libidn2_version
homepage = 'http://www.gnu.org/software/%(name)s'
whatis = [
"Description: libidn2 is the new GNU implementation of the Stringprep, Punycode and IDNA 2003 specifications."
]
description = """
Libidn2 is an implementation of the IDNA2008 + TR46 specifications (RFC 5890,
RFC 5891, RFC 5892, RFC 5893, TR 46). Libidn2 is a standalone library,
without any dependency on Libidn. Libidn2 is believed to be a complete
IDNA2008 / TR46 implementation, but has yet to be as extensively used as
the original Libidn library.
"""
docurls = [
'web-based manual pages on https://www.gnu.org/software/libidn2/manual',
'man pages for the idn2 command (section 1) and the API (section 3)',
]
toolchain = {'name': 'cpeGNU', 'version': '23.09'}
source_urls = ['https://ftp.gnu.org/gnu/libidn/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
# Doesn't need MPI, ROCm or BLAS, and module unload never fails so this is safe.
preconfigopts = 'module unload cray-libsci cray-mpich rocm xpmem && '
prebuildopts = preconfigopts
sanity_check_paths = {
'files': ['bin/idn2', 'lib/libidn2.%s' % SHLIB_EXT],
'dirs': ['include'],
}
sanity_check_commands = [
'idn2 --help',
'pkg-config --libs libidn2',
]
moduleclass = 'lib'