Skip to content

[libxml2] [package list]

libxml2/2.9.14-cpeAOCC-22.12 (libxml2-2.9.14-cpeAOCC-22.12.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider libxml2/2.9.14-cpeAOCC-22.12.

EasyConfig:

# contributed by Luca Marsella (CSCS)
easyblock = 'ConfigureMake'

local_ICU_version =          '72.1'          # http://site.icu-project.org/home
local_zlib_version =         '1.2.12'        # https://zlib.net/
local_XZ_version =           '5.4.2'         # https://tukaani.org/xz/
local_libxml2_version =      '2.9.14'        # http://xmlsoft.org/sources/

name =    'libxml2'
version = local_libxml2_version

homepage = 'http://xmlsoft.org/'

whatis = [
    'The XML C parcer and toolkit of Gnome, but usable outside of the Gnome platform also',
    'This module provides command line tools and static and shared libraries',
]

description = """
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but
usable outside of the Gnome platform), it is free software available under the
MIT License. XML itself is a metalanguage to design markup languages, i.e. text
language where semantic and structure are added to the content using extra
"markup" information enclosed between angle brackets. HTML is the most
well-known markup language. Though the library is written in C a variety of
language bindings make it available in other environments.

This module provides command line tools and static and shared libraries.
"""

usage = """
The module provides a number of command line tools
+ xmlcatalog: Parse and manipulate XML or SGML catalog files
+ xmllint:    Comand-line XML parser
+ xml-config: Provides information about the installed version of the library
xmlcatalog and xmllint also support --help

The library API is documented on the libxml website.
"""

docurls = [
    'Web-based documentation: http://xmlsoft.org/html/index.html',
    'Man pages for the command line tools and libxml',
]

toolchain = {'name': 'cpeAOCC', 'version': '22.12'}
toolchainopts = {'pic': True}

source_urls = ['https://download.gnome.org/sources/libxml2/%(version_major)s.%(version_minor)s/']
sources =     [SOURCELOWER_TAR_XZ]
checksums =   ['60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee']

dependencies = [
    ('ICU',  local_ICU_version),
    ('zlib', local_zlib_version),
    ('XZ',   local_XZ_version),
]

configopts = 'CC="$CC" CXX="$CXX" --with-pic --without-python --with-zlib --with-lzma --with-icu'

sanity_check_paths = {
    'files': [('lib/%(name)s.a', 'lib64/%(name)s.a'), ('lib/%(name)s.so', 'lib64/%(name)s.so')],
    'dirs':  ['bin', 'include/%(name)s/libxml'],
}

sanity_check_commands = [
    'xmlcatalog -v',
    'xmllint --version',
    'xml2-config --help',
    'pkg-config --libs libxml-2.0',
]

moduleclass = 'lib'

[libxml2] [package list]