libexif/0.6.26-cpeGNU-26.03 (libexif-0.6.26-cpeGNU-26.03.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider libexif/0.6.26-cpeGNU-26.03.
EasyConfig:
# Author: Jasper Grimm (UoY)
easyblock = 'ConfigureMake'
local_gettext_version = '1.0' # https://ftp.gnu.org/pub/gnu/gettext/
local_libexif_version = '0.6.26' # https://github.com/libexif/libexif/releases
name = 'libexif'
version = local_libexif_version
homepage = 'https://libexif.github.io/'
whatis = [
'Description: libexif is a library for parsing, editing, and saving EXIF data.'
]
description = """
Libexif is a library for parsing, editing, and saving EXIF data, written in
pure portable C.
"""
toolchain = {'name': 'cpeGNU', 'version': '26.03'}
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['32e591455339504b7d02f3e9b0a48f16f5455462a9059a7f47639980e82e4bc1']
build_deps = [
('buildtools', '%(toolchain_version)s', '', SYSTEM), # For autotools
('gettext', local_gettext_version),
('craype-accel-none', EXTERNAL_MODULE),
]
pre_configure_opts = 'module unload cray-libsci cray-mpich xpmem rocm && '
pre_install_opts = pre_test_opts = pre_build_opts = pre_configure_opts
pre_configure_opts += 'autoreconf -if &&'
configure_opts = '--disable-docs'
run_test = 'check'
maxparallel = 1 # When gettext is called, there is too much parallelism otherwise
post_install_cmds = [
'mkdir -p %(installdir)s/share/licenses/%(name)s',
'cd ../%(namelower)s-%(version)s && cp AUTHORS COPYING ChangeLog NEWS README %(installdir)s/share/licenses/%(name)s',
]
local_includes = ['include/%s/exif-%s.h' % (name, x) for x in [
'byte-order', 'content', 'data', 'data-type', 'entry', 'format', 'ifd',
'loader', 'log', 'mem', 'mnote-data', 'tag', 'utils']
]
local_libs = ['lib/%s.%s' % (name, x) for x in ['a', 'la', SHLIB_EXT]] + ['lib/pkgconfig/%(name)s.pc']
sanity_check_paths = {
'files': local_includes + local_libs + ['share/licenses/libexif/COPYING'],
'dirs': [],
}
sanity_check_cmds = [
'pkg-config --validate libexif',
f'pkg-config --exact-version={version} libexif'
]
env_mod_category = 'lib'