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

Title=		NSPR
Name=		nspr
Version=	4.9.4
Revision=	0
URL=		http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(Version)/src
Source=		$(Name)-$(Version).tar.gz

BuildDir=$(SourceDir)/mozilla/nsprpub

ReadMeFile=README
LicenseFile=$(BuildDir)/LICENSE

ifeq ($(RUDIX_BUILD_STATIC_LIBS),yes)
define build_pre_hook
sed -i.bak 's#$$(SHARED_LIBRARY)##' $(BuildDir)/config/rules.mk
endef
else
define build_pre_hook
sed -i.bak 's#$$(LIBRARY) ##' $(BuildDir)/config/rules.mk
endef
endif

define test_inner_hook
$(BinDir)/nspr-config --version
endef<commit_msg>Update nspr to version 4.10.4<commit_after>include ../../Library/GNU.mk

Title=		Netscape Portable Runtime
Name=		nspr
Version=	4.10.4
Revision=	0
URL=		http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(Version)/src
Source=		$(Name)-$(Version).tar.gz
BuildDir=$(SourceDir)/nspr

ReadMeFile=README
LicenseFile=$(BuildDir)/LICENSE

define test_inner_hook
$(BinDir)/nspr-config --version
endef
{'fraction_non_alphanumeric': 0.1659959758551308, 'fraction_numerical': 0.013078470824949699, 'mean_word_length': 5.337579617834395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4252774', 'n_tokens_mistral': 409, 'n_tokens_neox': 382, 'n_words': 67}