# IT4Innovations # BS 2024 easyblock = 'ConfigureMake' name = 'texinfo' version = '6.7' homepage = 'https://www.gnu.org/software/texinfo/' description = """Texinfo is the official documentation format of the GNU project.""" toolchain = {'name': 'GCCcore', 'version': '10.2.0'} source_urls = [GNU_SOURCE] sources = [SOURCELOWER_TAR_XZ] checksums = ['f211ec3261383e1a89e4555a93b9d017fe807b9c3992fb2dff4871dae6da54ad'] builddependencies = [('binutils', '2.35')] osdependencies = ['texlive'] preinstallopts = "make TEXMF=%(installdir)s/texmf install-tex && " # This will overwrite a users $TEXMFHOME so this module is best used as a build dependency modextravars = {'TEXMFHOME': '%(installdir)s/texmf'} modloadmsg = "\n\nWARNING: This texinfo module has (re)defined the value for the environment variable $TEXMFHOME.\n" modloadmsg += "If you use a custom texmf directory (such as ~/texmf) you should copy files found in the\n" modloadmsg += "new $TEXMFHOME to your custom directory and reset the value of $TEXMFHOME to point to that space:\n" modloadmsg += "\tcp -r $TEXMFHOME/* /path/to/your/texmf\n" modloadmsg += "\texport TEXMFHOME=/path/to/your/texmf\n\n" sanity_check_paths = { 'files': [ 'texmf/tex/texinfo/texinfo.tex', 'bin/install-info', 'bin/makeinfo', 'bin/pdftexi2dvi', 'bin/pod2texi', 'bin/texi2pdf' ], 'dirs': ['bin', 'share', 'texmf'], } moduleclass = 'devel'