Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:=20160308
  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://github.com/dangowrt/tracertools.git
  15. PKG_SOURCE_VERSION:=28d0bb9a10a0b56b4964e3256135cfd152075a59
  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. endef
  32. $(eval $(call BuildPackage,tracertools))