git-2.17.0-GCC-6.3.0-2.27.eb 997 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
easyblock = 'ConfigureMake'

name = 'git'
version = "2.17.0"

homepage = 'http://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': 'GCC', 'version': '6.3.0-2.27'}

source_urls = ['https://www.kernel.org/pub/software/scm/git/']
sources = ['%(name)s-%(version)s.tar.gz']

builddependencies = [
    ('Autoconf', '2.69', '', True)
]

dependencies = [
    ('cURL', '7.53.1', '', True),
    ('expat', '2.2.0', '', True),
Lukáš Krupčík's avatar
Lukáš Krupčík committed
22
    ('gettext', '0.19.8', '', True),
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    ('Perl', '5.26.2'),
]

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/git'],
    'dirs': [],
}

moduleclass = 'tools'