Skip to content

[libiconv] [package list]

libiconv/1.17-cpeCray-22.06 (libiconv-1.17-cpeCray-22.06.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/l/libiconv/libiconv-1.17-cpeCray-22.06.eb. The corresponding module would be libiconv/1.17-cpeCray-22.06.

easyblock = 'ConfigureMake'

local_libiconv_version =     '1.17'          # 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': '22.06'}
toolchainopts = {'pic': True}

source_urls = [GNU_SOURCE]
sources =     [SOURCE_TAR_GZ]
checksums =   ['8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313']

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'

[libiconv] [package list]