Skip to content

[libunistring] [package list]

libunistring/1.0-cpeGNU-22.08 (libunistring-1.0-cpeGNU-22.08.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider libunistring/1.0-cpeGNU-22.08.

EasyConfig:

# Contributed by Kurt Lust, LUMI project & UAntwerpen
easyblock = 'ConfigureMake'

local_libiconv_version =     '1.17'          # https://ftp.gnu.org/pub/gnu/libiconv/
local_libunistring_version = '1.0'           # https://ftp.gnu.org/gnu/libunistring/

name =          'libunistring'
version =       local_libunistring_version

homepage = 'http://www.gnu.org/software/libunistring/'

whatis = [
    'Description: This library provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.',
    'This module provides static and shared libraries.',
]

description = """
Text files are nowadays usually encoded in Unicode, and may consist of very
different scripts – from Latin letters to Chinese Hanzi –, with many kinds of
special characters – accents, right-to-left writing marks, hyphens, Roman
numbers, and much more. But the POSIX platform APIs for text do not contain
adequate functions for dealing with particular properties of many Unicode
characters. In fact, the POSIX APIs for text have several assumptions at their
base which don't hold for Unicode text.

This library provides functions for manipulating Unicode strings and for
manipulating C strings according to the Unicode standard.
"""

docurls = [
    'Web-based manual: https://www.gnu.org/software/libunistring/manual/libunistring.html',
    'The package supports the info command, start with info libunistring',
]


toolchain = {'name': 'cpeGNU', 'version': '22.08'}
toolchainopts = {'pic': True}

sources =     [SOURCELOWER_TAR_XZ]
source_urls = [GNU_SOURCE]
checksums =   ['5bab55b49f75d77ed26b257997e919b693f29fd4a1bc22e0e6e024c246c72741']

builddependencies = [ # Create a reproducible build environment.
    ('buildtools', '%(toolchain_version)s', '', True),
]

dependencies = [
    ('libiconv', local_libiconv_version),
]

parallel = 1

sanity_check_paths = {
    'files': ['lib/libunistring.a', 'lib/libunistring.%s' % SHLIB_EXT] +
             ['include/uni%s.h' % x for x in ['case', 'conv', 'ctype', 'lbrk', 'name', 'norm',
                                              'stdio', 'str', 'types', 'wbrk', 'width']],
    'dirs':  ['include/unistring'],
}

modextrapaths = {
    'INFOPATH' : 'share/info',
}

moduleclass = 'lib'

[libunistring] [package list]