<commit_before>include ../../Library/GNU.mk

Title=		GNU gettext
Name=		gettext
Version=	0.19.7
Revision=	0
Site=		http://www.gnu.org/software/gettext/
Source=		http://ftp.gnu.org/gnu/gettext/$(Name)-$(Version).tar.xz
Checksum=	4b2574b76d14c98270bf607a2a62f033524d8e8c
License=	GPLv3

GnuConfigureExtra += --enable-threads
GnuConfigureExtra += --disable-csharp
GnuConfigureExtra += --disable-java
GnuConfigureExtra += --with-included-glib

define install_post_hook
rm -rf $(DestDir)$(DocDir)/gettext/csharpdoc
rm -rf $(DestDir)$(DocDir)/gettext/examples
endef

define test_inner_hook
$(BinDir)/gettext --version | grep $(Version)
endef<commit_msg>gettext: Update to version 0.19.8.1<commit_after>include ../../Library/GNU.mk

Title=		GNU gettext
Name=		gettext
Version=	0.19.8.1
Revision=	0
Site=		http://www.gnu.org/software/gettext/
Source=		http://ftp.gnu.org/gnu/gettext/$(Name)-$(Version).tar.xz
License=	GPLv3

GnuConfigureExtra += --enable-threads
GnuConfigureExtra += --disable-csharp
GnuConfigureExtra += --disable-java
GnuConfigureExtra += --with-included-glib

define install_post_hook
rm -rf $(DestDir)$(DocDir)/gettext/csharpdoc
rm -rf $(DestDir)$(DocDir)/gettext/examples
endef

define test_inner_hook
$(BinDir)/gettext --version | grep $(Version)
endef
{'fraction_non_alphanumeric': 0.15311760063141278, 'fraction_numerical': 0.036306235201262825, 'mean_word_length': 4.897674418604651, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3061809', 'n_tokens_mistral': 519, 'n_tokens_neox': 477, 'n_words': 87}