# IT4Innovations # LK 2024 easyblock = 'ConfigureMake' name = 'gettext' version = '0.21.1' homepage = 'https://www.gnu.org/software/gettext/' description = """GNU 'gettext' is an important step for the GNU Translation Project, as it is an asset on which we may build many other steps. This package offers to programmers, translators, and even users, a well integrated set of tools and documentation""" # This is a basic stripped down version of gettext without any # dependencies on other packages used as initial builddep for XZ # It is the first step in the cyclic dependency chain of # XZ -> libxml2 -> gettext -> XZ toolchain = SYSTEM source_urls = [GNU_SOURCE] sources = [SOURCE_TAR_GZ] checksums = ['e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45'] dependencies = [ ('ncurses', '6.3'), ] configopts = '--without-emacs --with-included-libxml --without-xz --without-bzip2' sanity_check_paths = { 'files': ['bin/gettext', 'lib/libgettextpo.a', 'lib/libgettextpo.%s' % SHLIB_EXT], 'dirs': ['include'], } sanity_check_commands = [ "gettext --help", "msginit --help", ] moduleclass = 'tools'