<commit_before>#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )

PKG_NAME:=lime-report
PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
	TITLE:=LibreMesh report utility
	CATEGORY:=LiMe
	MAINTAINER:=<NAME> <<EMAIL>>
	URL:=https://libremesh.org
	PKGARCH:=all
endef

define Package/$(PKG_NAME)/description
	Report utility for debugging LibreMesh
endef

define Package/$(PKG_NAME)/config
endef

define Build/Compile
endef

define Package/$(PKG_NAME)/install
	$(INSTALL_DIR) $(1)/
	$(INSTALL_BIN) ./files/lime-report.sh $(1)/bin/lime-report
endef

$(eval $(call BuildPackage,$(PKG_NAME)))<commit_msg>lime-report Makefile improved description<commit_after>#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )

PKG_NAME:=lime-report
PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
	TITLE:=LibreMesh status report utility
	CATEGORY:=LiMe
	MAINTAINER:=<NAME> <<EMAIL>>
	URL:=https://libremesh.org
	PKGARCH:=all
endef

define Package/$(PKG_NAME)/description
	Outputs a report about the status and the main configuration
	of a LibreMesh node, useful for debugging and issues reporting.
endef

define Package/$(PKG_NAME)/config
endef

define Build/Compile
endef

define Package/$(PKG_NAME)/install
	$(INSTALL_DIR) $(1)/
	$(INSTALL_BIN) ./files/lime-report.sh $(1)/bin/lime-report
endef

$(eval $(call BuildPackage,$(PKG_NAME)))
{'fraction_non_alphanumeric': 0.13962472406181015, 'fraction_numerical': 0.005518763796909493, 'mean_word_length': 5.49820788530466, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3601697', 'n_tokens_mistral': 691, 'n_tokens_neox': 654, 'n_words': 154}