libdap/3.20.9-cpeAOCC-21.12 (libdap-3.20.9-cpeAOCC-21.12.eb)
This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/l/libdap/libdap-3.20.9-cpeAOCC-21.12.eb. The corresponding module would be libdap/3.20.9-cpeAOCC-21.12.
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
easyblock = 'ConfigureMake'
local_cURL_version = '7.78.0' # https://curl.haxx.se/download/
local_libxml2_version = '2.9.12' # http://xmlsoft.org/sources/
local_PCRE2_version = '10.37' # https://ftp.pcre.org/pub/pcre/
local_libtirpc_version = '1.3.2' # https://sourceforge.net/projects/libtirpc/files/libtirpc/
local_util_version = '2.37.1' # https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/
name = 'libdap'
version = '3.20.9'
homepage = 'https://www.opendap.org/software/libdap'
whatis = [
'Description: libdap is a C++ SDK implementtin DAP 2.0 and 4.0'
]
description = """
A C++ SDK which contains an implementation of DAP 2.0 and
DAP4.0. This includes both Client- and Server-side support classes.
"""
toolchain = {'name': 'cpeAOCC', 'version': '21.12'}
source_urls = ['https://www.opendap.org/pub/source/']
sources = [SOURCE_TAR_GZ]
checksums = ['77fc93159d2c71d6ace5709babd9dec598285186aecfba358cb623be29a8e5b9']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True), # Bison, flex
]
dependencies = [
('cURL', local_cURL_version),
('libxml2', local_libxml2_version),
('libtirpc', local_libtirpc_version),
('PCRE2', local_PCRE2_version),
('util-linux', local_util_version),
]
configopts = 'TIRPC_LIBS="-ltirpc"'
sanity_check_paths = {
'files': ['bin/getdap', 'bin/getdap4', 'bin/dap-config', 'lib/libdap.a', 'lib/libdap.%s' % SHLIB_EXT],
'dirs': ['include'],
}
sanity_check_commands = [
'dap-config --libs',
'dap-config-pkgconfig --libs',
'getdap -V',
'getdap4 -V',
'pkg-config libdap --libs',
'pkg-config libdapclient --libs',
'pkg-config libdapserver --libs',
]
moduleclass = 'lib'