# JH 2020 easyblock = 'ConfigureMake' name = 'nettle' version = '3.5.1' homepage = 'http://www.lysator.liu.se/~nisse/nettle/' description = """Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.""" toolchain = {'name': 'GCCcore', 'version': '9.3.0'} source_urls = [GNU_SOURCE] sources = [SOURCE_TAR_GZ] checksums = ['75cca1998761b02e16f2db56da52992aef622bf55a3b45ec538bc2eedadc9419'] builddependencies = [ ('binutils', '2.34'), ('M4', '1.4.18'), ] dependencies = [ ('GMP', '6.2.0'), ] sanity_check_paths = { 'files': ['bin/%s' % x for x in ['nettle-hash', 'nettle-lfib-stream', 'pkcs1-conv', 'sexp-conv']] + [('lib/libhogweed.a', 'lib64/libhogweed.a'), ('lib/libhogweed.%s' % SHLIB_EXT, 'lib64/libhogweed.%s' % SHLIB_EXT), ('lib/libnettle.a', 'lib64/libnettle.a'), ('lib/libnettle.%s' % SHLIB_EXT, 'lib64/libnettle.%s' % SHLIB_EXT)], 'dirs': ['include/nettle'], } moduleclass = 'lib'