|
|
@ -11,12 +11,12 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=knxd |
|
|
|
PKG_VERSION=2017-01-18 |
|
|
|
PKG_VERSION:=0.14.18 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
PKG_SOURCE_URL:=https://github.com/knxd/knxd.git |
|
|
|
PKG_SOURCE_VERSION:=8255bf08b6e1a972c1489012b570bf0ff8679cb0 |
|
|
|
PKG_SOURCE_VERSION:=5e707fdb7430009a299d3ad849aecf9ccbc8fdf6 |
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME) |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz |
|
|
|
PKG_MIRROR_HASH:=8f7477093d01dad36f915188065fb36443abd668d1f896c4187d3c7703c73040 |
|
|
@ -47,52 +47,32 @@ EIB KNX Daemon |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/knxd/conffiles |
|
|
|
/etc/config/knxd |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/knxd-tools |
|
|
|
SECTION:=net |
|
|
|
CATEGORY:=Network |
|
|
|
TITLE:=EIB KNX Utils |
|
|
|
DEPENDS:=+libstdcpp +libev |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/knxd-tools/description |
|
|
|
EIB KNX Tools |
|
|
|
/etc/config/knxd.ini |
|
|
|
endef |
|
|
|
|
|
|
|
TARGET_CXXFLAGS+= -std=c++0x |
|
|
|
TARGET_CXX=$(TARGET_CC) |
|
|
|
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--enable-eibnetip \
|
|
|
|
--enable-eibnetiptunnel \
|
|
|
|
--enable-eibnetipserver \
|
|
|
|
--disable-systemd |
|
|
|
|
|
|
|
EXTRA_LDFLAGS+= \
|
|
|
|
-largp -lstdc++ |
|
|
|
|
|
|
|
define Package/knxd/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libeibclient.so* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/knxd_args $(1)/usr/lib/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ |
|
|
|
$(RM) $(1)/usr/bin/knxtool |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibwrite-cgi $(1)/usr/bin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibread-cgi $(1)/usr/bin/ |
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
|
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd |
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
$(INSTALL_DATA) ./files/knxd.config $(1)/etc/config/knxd |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/knxd-tools/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libeibclient.so* $(1)/usr/lib/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/knxtool $(1)/usr/bin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibwrite-cgi $(1)/usr/bin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibread-cgi $(1)/usr/bin/ |
|
|
|
$(INSTALL_DATA) ./files/knxd.ini $(1)/etc/config/knxd.ini |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,knxd)) |
|
|
|
$(eval $(call BuildPackage,knxd-tools)) |