|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
PKG_NAME:=mbtools |
|
|
PKG_NAME:=mbtools |
|
|
PKG_SOURCE_DATE:=2014-10-29 |
|
|
PKG_SOURCE_DATE:=2014-10-29 |
|
|
PKG_SOURCE_VERSION:=149e9c69cec180f18cf8781cf5285b97352bf719 |
|
|
PKG_SOURCE_VERSION:=149e9c69cec180f18cf8781cf5285b97352bf719 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_URL:=https://github.com/webstack/mbtools |
|
|
PKG_SOURCE_URL:=https://github.com/webstack/mbtools |
|
@ -31,7 +31,7 @@ define Package/mbtools |
|
|
SECTION:=utils |
|
|
SECTION:=utils |
|
|
CATEGORY:=Utilities |
|
|
CATEGORY:=Utilities |
|
|
TITLE:=Modbus tools |
|
|
TITLE:=Modbus tools |
|
|
DEPENDS:=+glib2 +libmodbus $(INTL_DEPENDS) |
|
|
|
|
|
|
|
|
DEPENDS:=+glib2 +libmodbus |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/mbtools/description |
|
|
define Package/mbtools/description |
|
@ -40,13 +40,6 @@ define Package/mbtools/description |
|
|
as client or server (in TCP or RTU) |
|
|
as client or server (in TCP or RTU) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
ifneq ($(INTL_FULL),) |
|
|
|
|
|
TARGET_LDFLAGS += \
|
|
|
|
|
|
-L$(INTL_PREFIX)/lib \
|
|
|
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
|
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
define Package/mbtools/install |
|
|
define Package/mbtools/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbrecorder $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbrecorder $(1)/usr/bin/ |
|
|