git-2.16.1-foss-2017b.eb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. easyblock = 'ConfigureMake'
  2. name = 'git'
  3. version = '2.16.1'
  4. homepage = 'http://git-scm.com/'
  5. description = """Git is a free and open source distributed version control system designed
  6. to handle everything from small to very large projects with speed and efficiency."""
  7. toolchain = {'name': 'foss', 'version': '2017b'}
  8. sources = ['v%(version)s.tar.gz']
  9. source_urls = ['https://github.com/git/git/archive']
  10. checksums = ['e3f13e3c86981f64b1920749c07be11841bbf5a3434ec9b5611959dfd7c7398e']
  11. builddependencies = [
  12. ('Autotools', '20170619'),
  13. ]
  14. dependencies = [
  15. ('cURL', '7.60.0'),
  16. ('expat', '2.2.5'),
  17. ('gettext', '0.19.8.1', '-libxml2-2.9.7'),
  18. ('Perl', '5.26.1'),
  19. ]
  20. # asciidoc and xmlto are required for git man/doc build
  21. osdependencies = ['asciidoc', 'xmlto']
  22. preconfigopts = 'make configure && '
  23. # Work around git build system bug. If LIBS contains -lpthread, then configure
  24. # will not append -lpthread to LDFLAGS, but Makefile ignores LIBS.
  25. configopts = "--with-perl=${EBROOTPERL}/bin/perl --enable-pthreads='-lpthread'"
  26. # required to also install documentation
  27. buildopts = "doc"
  28. installopts = "install-doc"
  29. sanity_check_paths = {
  30. 'files': ['bin/git'],
  31. 'dirs': ['share/man'],
  32. }
  33. moduleclass = 'tools'