# IT4Innovations # JK 2022 easyblock = 'ConfigureMake' name = 'aria2' version = '1.35.0' homepage = 'https://aria2.github.io' description = "aria2 is a lightweight multi-protocol & multi-source command-line download utility." toolchain = {'name': 'GCCcore', 'version': '10.3.0'} source_urls = ['https://github.com/aria2/aria2/releases/download/release-%(version)s'] sources = [SOURCE_TAR_GZ] checksums = ['fd85589416f8246cefc4e6ba2fa52da54fdf11fd5602a2db4b6749f7c33b5b2d'] builddependencies = [ ('binutils', '2.36.1'), ('Autotools', '20210128'), ('CppUnit', '1.15.1'), ] dependencies = [ ('zlib', '1.2.11'), ('libxml2', '2.9.10'), ('SQLite', '3.35.4'), ('c-ares', '1.17.2'), ('OpenSSL', '1.1', '', True), ] # add certificates' path to use https configopts = "--without-gnutls --with-openssl --enable-libaria2 --enable-static --with-ca-bundle='/etc/ssl/certs/ca-bundle.crt'" #runtest = 'check' sanity_check_paths = { 'files': ['bin/aria2c'], 'dirs': ['share'], } sanity_check_commands = ["aria2c --help"] moduleclass = 'tools'