## # Author: Robert Mijakovic ## # Update: Petr Král (INUITS) easyblock = 'ConfigureMake' name = 'texinfo' version = '7.0.3' homepage = 'https://www.gnu.org/software/texinfo/' description = """Texinfo is the official documentation format of the GNU project.""" toolchain = {'name': 'GCCcore', 'version': '13.3.0'} source_urls = [GNU_SOURCE] sources = [SOURCELOWER_TAR_XZ] checksums = ['74b420d09d7f528e84f97aa330f0dd69a98a6053e7a4e01767eed115038807bf'] builddependencies = [('binutils', '2.42')] 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'