Tools/gettext: added

This commit is contained in:
2019-03-25 17:22:55 +01:00
parent dcee423c87
commit 8d6743cb30
3 changed files with 40 additions and 0 deletions

20
Tools/gettext/build Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://ftp.gnu.org/pub/gnu/$P/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Tools'
pbuild::add_configure_args "--prefix=${PREFIX}"
pbuild::add_configure_args "--bindir=${PREFIX}/sbin"
pbuild::add_configure_args "--disable-java"
pbuild::add_configure_args "--disable-threads"
pbuild::add_configure_args "--disable-shared"
pbuild::add_configure_args "--enable-relocatable"
pbuild::add_configure_args "--disable-openmp"
pbuild::add_configure_args "--disable-acl"
pbuild::add_configure_args "--disable-curses"
pbuild::add_configure_args "--with-included-gettext"
pbuild::add_configure_args "--without-libiconv-prefix"
pbuild::add_configure_args "--without-libintl-prefix"
pbuild::add_configure_args "--with-included-libxml"
pbuild::add_configure_args "--with-pic=yes"

View File

@@ -0,0 +1 @@
gettext/0.19.8 stable

19
Tools/gettext/modulefile Normal file
View File

@@ -0,0 +1,19 @@
#%Module1.0
module-whatis "internationalization and localization (i18n) system"
module-url "https://www.gnu.org/software/gettext/"
module-license "GPL v3"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
This is the GNU gettext package. It is interesting for authors or
maintainers of other packages or programs which they want to see
internationalized. As one step the handling of messages in different
languages should be implemented. For this task GNU gettext provides
the needed tools and library functions.
It is also interesting for translators, because GNU gettext provides
the 'msgmerge' program, which prepares a message catalog before a
translation update.
"