<commit_before>#
# Copyright (C) 2012 <NAME>
#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=altermap-agent
PKG_VERSION:=$(shell hg log --template "{date|shortdate}-{rev}\n" -l 1 .)
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk

define Package/altermap-agent
  SECTION:=admin
  CATEGORY:=Administration
  TITLE:=Send system information to an AlterMap server
  MAINTAINER:=<NAME> <<EMAIL>>
  DEPENDS:= +curl +jshn +sysinfo-json
endef

define Package/altermap-agent/description
Small script that collects info (network settings, wifi stations, etc) from a router, and sends it to a map server.
endef

define Build/Compile
endef

define Package/altermap-agent/install
	$(INSTALL_DIR) $(1)/
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,altermap-agent))
<commit_msg>altermap-agent Makefile: fix version and dependencies<commit_after>#
# Copyright (C) 2012 <NAME>
#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=altermap-agent
PKG_VERSION:=2013-07-30
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk

define Package/altermap-agent
  SECTION:=admin
  CATEGORY:=Administration
  TITLE:=Send system information to an AlterMap server
  MAINTAINER:=<NAME> <<EMAIL>>
  DEPENDS:= +luci-lib-core, +luci-lib-httpclient, +luci-lib-json, +luci-lib-nixio, +libuci-lua
endef

define Package/altermap-agent/description
Small script that collects info (network settings, wifi stations, etc) from a router, and sends it to a map server.
endef

define Build/Compile
endef

define Package/altermap-agent/install
	$(INSTALL_DIR) $(1)/
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,altermap-agent))

{'fraction_non_alphanumeric': 0.12521539345203905, 'fraction_numerical': 0.014359563469270534, 'mean_word_length': 5.133802816901408, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6119207', 'n_tokens_mistral': 631, 'n_tokens_neox': 590, 'n_words': 171}