You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2007-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=tracertools
  9. PKG_VERSION:=20140905
  10. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=GPL-3.0
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_URL:=https://gitorious.org/tracertools/tracertools.git
  15. PKG_SOURCE_VERSION:=4a0db8bc583db00d1a52670a31e1e36101f433e5
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/tracertools
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. TITLE:=Tracer MPPT monitoring and control tools
  24. endef
  25. define Package/tracertools/description
  26. Tools for the Tracer MPPT solar charge controller.
  27. endef
  28. define Package/tracertools/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/tracerstat $(1)/usr/bin/
  31. ln -s tracerstat $(1)/usr/bin/tracerreq
  32. endef
  33. $(eval $(call BuildPackage,tracertools))