Skip to content

Commit

Permalink
adding easyconfigs: texinfo-7.1-GCCcore-12.3.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Jan 8, 2024
1 parent 714218e commit 94204a0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/t/texinfo/texinfo-7.1-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
##
# Author: Robert Mijakovic <[email protected]>
##
# Update: Petr Král (INUITS)

easyblock = 'ConfigureMake'

name = 'texinfo'
version = '7.1'

homepage = 'https://www.gnu.org/software/texinfo/'
description = """Texinfo is the official documentation format of the GNU project."""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['deeec9f19f159e046fdf8ad22231981806dac332cc372f1c763504ad82b30953']

builddependencies = [('binutils', '2.40')]

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'

0 comments on commit 94204a0

Please sign in to comment.