Skip to content

[libxml2] [package list]

libxml2/2.9.12-cpeCray-21.06 (libxml2-2.9.12-cpeCray-21.06.eb)

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

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

local_ICU_version =          '69.1'          # http://site.icu-project.org/home
local_zlib_version =         '1.2.11'        # https://zlib.net/
local_XZ_version =           '5.2.5'         # https://tukaani.org/xz/
local_libxml2_version =      '2.9.12'        # http://xmlsoft.org/sources/

name =    'libxml2'
version = '2.9.12'

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': 'cpeCray', 'version': '21.06'}
toolchainopts = {'pic': True}

source_urls = ['http://xmlsoft.org/sources/']
sources =     [SOURCELOWER_TAR_GZ]

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]