libiconv/1.16-cpeCray-21.12 (libiconv-1.16-cpeCray-21.12.eb)
This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/l/libiconv/libiconv-1.16-cpeCray-21.12.eb. The corresponding module would be libiconv/1.16-cpeCray-21.12.
easyblock = 'ConfigureMake'
local_libiconv_version = '1.16' # https://ftp.gnu.org/pub/gnu/libiconv/
local_gettext_version = '0.21' # https://ftp.gnu.org/pub/gnu/gettext/
name = 'libiconv'
version = local_libiconv_version
homepage = 'https://www.gnu.org/software/libiconv'
whatis = [
'Description: Libiconv converts from one character encoding to another through Unicode conversion'
]
description = """
International text is mostly encoded in Unicode. For historical reasons, however,
it is sometimes still encoded using a language or country dependent character
encoding. With the advent of the internet and the frequent exchange of text across
countries - even the viewing of a web page from a foreign country is a "text
exchange" in this context -, conversions between these encodings have become a
necessity.
In particular, computers with the Windows operating system still operate in locale
with a traditional (limited) character encoding. Some programs, like mailers and
web browsers, must be able to convert between a given text encoding and the user's
encoding. Other programs internally store strings in Unicode, to facilitate internal
processing, and need to convert between internal string representation (Unicode)
and external string representation (a traditional encoding) when they are doing I/O.
GNU libiconv is a conversion library for both kinds of applications.
"""
toolchain = {'name': 'cpeCray', 'version': '21.12'}
toolchainopts = {'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
('gettext', local_gettext_version, '-minimal'),
]
sanity_check_paths = {
'files': ['bin/iconv', 'include/iconv.h', 'include/libcharset.h', 'include/localcharset.h',
'lib/libcharset.a', 'lib/libcharset.%s' % SHLIB_EXT, 'lib/libiconv.%s' % SHLIB_EXT],
'dirs': ['share'],
}
moduleclass = 'lib'