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.

42 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=modbus-utils
  3. PKG_VERSION:=2013-07-31
  4. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://github.com/Krzysztow/modbus-utils.git
  7. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  8. PKG_SOURCE_VERSION:=c569dc0a11a1bedf3a8080fe4a1696de93e386ab
  9. # PKG_MIRROR_HASH:=3aed4146e06bd9f9bcc271824c6b1d75d1fc2a0bd980f2b729c3b4755c6f70a8
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  11. PKG_FIXUP:=autoreconf
  12. PKG_BUILD_PARALLEL:=1
  13. PKG_INSTALL:=1
  14. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  15. # supposed based on statement that source is based on libmodbus testcases
  16. PKG_LICENSE:=GPL-3.0+ LGPL-2.1+
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/nls.mk
  19. define Package/modbus-utils
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=Modbus client/server utils
  23. DEPENDS:=+libmodbus
  24. endef
  25. define Package/modbus-utils/description
  26. endef
  27. define Package/modbus-utils/install
  28. $(INSTALL_DIR) $(1)/usr/bin
  29. # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbrecorder $(1)/usr/bin/
  30. endef
  31. $(eval $(call BuildPackage,modbus-utils))