Skip to content

[expat] [package list]

expat/2.4.9-cpeAMD-22.12 (expat-2.4.9-cpeAMD-22.12.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider expat/2.4.9-cpeAMD-22.12.

EasyConfig:

easyblock = 'ConfigureMake'

local_expat_version =        '2.4.9'         # https://github.com/libexpat/libexpat/releases

name =    'expat'
version = local_expat_version

homepage = 'https://libexpat.github.io/'

whatis = [
    'Description: Stream-oriented XML parser library',
    'This module contains the tool xmlwf and static and shared libraries',
]

description = """
Expat is an XML parser library written in C. It is a stream-oriented parser in
which an application registers handlers for things the parser might find in the
XML document (like start tags).

The module contains the command line tool xmlwf and static and shared libraries.
"""

usage = """
The command line utility xmlwf checks whether a XML document is well-formed.
Help for this command is available through a man page.

The library is documented on the expat web page.
"""

docurls = [
    'Web-based documentation: https://libexpat.github.io/doc/',
    'Man page for xmlwf',
]


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

source_urls = ['https://github.com/libexpat/libexpat/releases/download/R_%s/' % version.replace('.', '_')]
sources =     [SOURCE_TAR_BZ2]
checksums =   ['7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a']

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

# Since expat 2.2.6, docbook2X is needed to produce manpage of xmlwf.
# Docbook2X needs XML-Parser and XML-Parser needs expat.
# -> circular dependency. "--without-docbook" breaks this circle.
configopts = ['--without-docbook']

sanity_check_paths = {
    'files': ['bin/xmlwf', 'include/expat.h', 'lib/libexpat.a', 'lib/libexpat.%s' % SHLIB_EXT],
    'dirs':  [],
}

sanity_check_commands = [
    'xmlwf -h',
    'pkg-config --libs %(namelower)s',
]

moduleclass = 'tools'

[expat] [package list]