From fb55936a52ff5aa0b88af35c8fbaf3c449470a48 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 25 Aug 2014 22:33:00 +0200 Subject: [PATCH] add tracertools package tracertools are an early hack to make use of the monitor port of the Tracer MPPT solar charge controller family. Currently status info can be acquired from the controller and formatted into a bunch of useful output formats. Signed-off-by: Daniel Golle --- utils/tracertools/Makefile | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 utils/tracertools/Makefile diff --git a/utils/tracertools/Makefile b/utils/tracertools/Makefile new file mode 100644 index 000000000..095367baa --- /dev/null +++ b/utils/tracertools/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2007-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=tracertools +PKG_VERSION:=0.1 +PKG_RELEASE=$(PKG_SOURCE_VERSION) +PKG_MAINTAINER:=Daniel Golle + +PKG_LICENSE:=GPL-3.0 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://gitorious.org/tracertools/tracertools.git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=701691a5e206dca361f5b5e5bd2f508dd5b160cd +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/tracertools + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Tracer probing/fuzzing +endef + +define Package/tracertools/description + Tools for the Tracer MPPT solar charge controller. +endef + +define Package/tracertools/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/reqdata $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/parsereply $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/fuzzreply $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,tracertools))