Skip to content
Snippets Groups Projects
Select Git revision
  • 2023 default protected
1 result

git-2.36.0-GCCcore-11.3.0-nodocs.eb

Blame
  • git-2.36.0-GCCcore-11.3.0-nodocs.eb 1.27 KiB
    ##
    # Author:    Robert Mijakovic <robert.mijakovic@lxp.lu>
    ##
    # updated to 2.33.1
    # J. Sassmannshausen / GSTT
    
    easyblock = 'ConfigureMake'
    
    name = 'git'
    version = '2.36.0'
    versionsuffix = '-nodocs'
    
    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': '11.3.0'}
    
    source_urls = ['https://github.com/git/git/archive']
    sources = ['v%(version)s.tar.gz']
    checksums = ['59dbc158dce293798570166fe7acfe225514f2868bc2d6e25c1a5a00c4ac0888']
    
    builddependencies = [
        ('binutils', '2.38'),
        ('Autotools', '20220317'),
    ]
    
    dependencies = [
        ('cURL', '7.83.0'),
        ('expat', '2.4.8'),
        ('gettext', '0.21'),
        ('Perl', '5.34.1'),
        ('OpenSSL', '1.1', '', True),
    ]
    
    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'"
    
    postinstallcmds = ['cd contrib/subtree; make install']
    
    sanity_check_paths = {
        'files': ['bin/git'],
        'dirs': ['libexec/git-core', 'share'],
    }
    
    moduleclass = 'tools'