# # # Author: Robert Mijakovic # # easyblock = 'ConfigureMake' name = 'git' version = '2.32.0' versionsuffix = '-nodocs-test' homepage = 'https://git-scm.com/' description = """Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.""" toolchain = {'name': 'GCCcore', 'version': '10.3.0'} source_urls = ['https://github.com/%(name)s/%(name)s/archive'] sources = ['v%(version)s.tar.gz'] checksums = ['004697482b6e3b0ae9147580c32efd35869426227f1526f8eafa7950c31def94'] builddependencies = [ ('binutils', '2.36.1'), ('Autotools', '20210128'), ] dependencies = [ ('cURL', '7.76.0', '-test'), ('expat', '2.2.9'), ('gettext', '0.21'), ('Perl', '5.32.1', '-test'), ('OpenSSL', '1.1.1k'), ] preconfigopts = "make configure && " # Work around git build system bug. If LIBS contains -lpthread, then configure # will not append -lpthread to LDFLAGS, but Makefile ignores LIBS. configopts = "--with-perl=${EBROOTPERL}/bin/perl --enable-pthreads='-lpthread'" sanity_check_paths = { 'files': ['bin/%(name)s'], 'dirs': ['libexec/%(name)s-core', 'share'], } moduleclass = 'tools'