<commit_before>package=libcryptopp
$(package)_version=8.2.0
$(package)_download_path=https://github.com/weidai11/cryptopp/archive/

$(package)_file_name=CRYPTOPP_8_2_0.tar.gz
$(package)_sha256_hash=e3bcd48a62739ad179ad8064b523346abb53767bcbefc01fe37303412292343e

define $(package)_preprocess_cmds
endef

define $(package)_set_vars
endef

define $(package)_config_cmds
endef

define $(package)_build_cmds
  PREFIX=$($(package)_staging_dir) $(MAKE) GNUmakefile static libcryptopp.pc
endef

define $(package)_stage_cmds
  PREFIX=$($(package)_staging_dir) $(MAKE) install
endef

define $(package)_postprocess_cmds
endef
<commit_msg>BUILD: Improve libcryptopp build recipe so that it works for arm cross compiles<commit_after>package=libcryptopp
$(package)_version=8.2.0
$(package)_download_path=https://github.com/weidai11/cryptopp/archive/

$(package)_file_name=CRYPTOPP_8_2_0.tar.gz
$(package)_sha256_hash=e3bcd48a62739ad179ad8064b523346abb53767bcbefc01fe37303412292343e


$(package)_makefile_arm_linux=GNUmakefile-cross
$(package)_makefile=GNUmakefile

define $(package)_preprocess_cmds
endef

define $(package)_set_vars
endef

define $(package)_config_cmds
endef

define $(package)_build_cmds
  PREFIX=$($(package)_staging_prefix_dir) $(MAKE) -f GNUmakefile libcryptopp.pc && \
  PREFIX=$($(package)_staging_prefix_dir) $(MAKE) -f $($(package)_makefile) static
endef

define $(package)_stage_cmds
  PREFIX=$($(package)_staging_prefix_dir) $(MAKE) -f $($(package)_makefile) install-lib
endef

define $(package)_postprocess_cmds
endef

{'fraction_non_alphanumeric': 0.11799217731421122, 'fraction_numerical': 0.06910039113428944, 'mean_word_length': 9.809859154929578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6516289', 'n_tokens_mistral': 642, 'n_tokens_neox': 557, 'n_words': 83}