Skip to content

[libxslt] [package list]

libxslt/1.1.37-cpeAMD-22.12 (libxslt-1.1.37-cpeAMD-22.12.eb)

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

EasyConfig:

# NOTE: Could use libgcrupt
# NOTE: Somewhere in the build process, the generation of a lot of wrapper functions
# trhough a Python script fails, but it is not clear from the error message what could
# be the cause.
easyblock = 'ConfigureMake'

local_libxml2_version =      '2.9.14'        # http://xmlsoft.org/sources/
local_libxslt_version =      '1.1.37'        # http://xmlsoft.org/sources/

name =    'libxslt'
version = local_libxslt_version

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

whatis = [
   'Description: XSLT C library for the Gnome project',
   'This module provides the command line tool and static and shared libraries',
]

description = """
Libxslt is the XSLT C library developed for the GNOME project (but usable
outside of the Gnome platform). XSLT itself is a an XML language to define
transformation for XML. Libxslt is based on libxml2 the XML C library developed
for the GNOME project. It also implements most of the EXSLT set of
processor-portable extensions functions and some of Saxon's evaluate and
expressions extensions.

People can either embed the library in their application or use xsltproc the
command line processing tool. This library is free software and can be reused in
commercial applications.

Besides the xsltproc command line tool, the module also provides static and
shared libraries.
"""

docurls = [
    'Web-based documentation on the home page: http://xmlsoft.org/libxslt/',
    'Man pages for xsltproc, libxslt and libexslt',
]

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

source_urls = ['https://download.gnome.org/sources/libxslt/%(version_major_minor)s/']
sources =     [SOURCE_TAR_XZ]
checksums =   ['3a4b27dc8027ccd6146725950336f1ec520928f320f144eb5fa7990ae6123ab4']

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

dependencies = [ # zlib, also used in the EasyBuilders version, comes in via libxml2.
    ('libxml2', local_libxml2_version),
]

# Make sure it doesn't pick up OS installed libgcrypt or Python
configopts = '--with-crypto=no --with-python=no '

sanity_check_paths = {
    'files': ['bin/xsltproc', 'include/libxslt/xslt.h', 'lib/%%(name)s.%s' % SHLIB_EXT],
    'dirs':  [],
}

sanity_check_commands = [
    'xsltproc --version',
    'xslt-config --version',
    'pkg-config --libs libxslt',
    'pkg-config --libs libexslt',
]

moduleclass = 'lib'

[libxslt] [package list]