|
@@ -11,12 +11,12 @@
|
11
|
11
|
include $(TOPDIR)/rules.mk
|
12
|
12
|
|
13
|
13
|
PKG_NAME:=knxd
|
14
|
|
-PKG_VERSION=2015-06-27-$(PKG_SOURCE_VERSION)
|
15
|
|
-PKG_RELEASE:=2
|
|
14
|
+PKG_VERSION=2015-07-19-$(PKG_SOURCE_VERSION)
|
|
15
|
+PKG_RELEASE:=1
|
16
|
16
|
|
17
|
17
|
PKG_SOURCE_PROTO:=git
|
18
|
18
|
PKG_SOURCE_URL:=https://github.com/knxd/knxd.git
|
19
|
|
-PKG_SOURCE_VERSION:=50e7f6e6bfa13c2b6140b0f76aaa70234bf44b1d
|
|
19
|
+PKG_SOURCE_VERSION:=be1fcfe85cc1dfcc41f791cd9a45c57fe18da6a0
|
20
|
20
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
|
21
|
21
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
|
22
|
22
|
|
|
@@ -38,7 +38,7 @@ define Package/knxd
|
38
|
38
|
SECTION:=net
|
39
|
39
|
CATEGORY:=Network
|
40
|
40
|
TITLE:=EIB KNX daemon
|
41
|
|
- DEPENDS:=+pthsem +libusb-1.0 +libstdcpp
|
|
41
|
+ DEPENDS:=+pthsem +libusb-1.0
|
42
|
42
|
endef
|
43
|
43
|
|
44
|
44
|
define Package/knxd/description
|
|
@@ -49,56 +49,39 @@ define Package/knxd/conffiles
|
49
|
49
|
/etc/config/knxd
|
50
|
50
|
endef
|
51
|
51
|
|
52
|
|
-define Package/libeibclient
|
53
|
|
- SECTION:=libs
|
54
|
|
- CATEGORY:=Libraries
|
55
|
|
- TITLE:=Library for EIB clients
|
56
|
|
- DEPENDS:=+pthsem
|
57
|
|
-endef
|
58
|
|
-
|
59
|
|
-define Package/libeibclient/description
|
60
|
|
-EIB KNX client library
|
61
|
|
-endef
|
62
|
|
-
|
63
|
52
|
define Package/knxd-tools
|
64
|
53
|
SECTION:=net
|
65
|
54
|
CATEGORY:=Network
|
66
|
55
|
TITLE:=EIB KNX Utils
|
67
|
|
- DEPENDS:=+libeibclient
|
68
|
56
|
endef
|
69
|
57
|
|
70
|
58
|
define Package/knxd-tools/description
|
71
|
59
|
EIB KNX Tools
|
72
|
60
|
endef
|
73
|
61
|
|
|
62
|
+TARGET_CXXFLAGS+= -fno-rtti
|
|
63
|
+TARGET_CXX=$(TARGET_CC)
|
|
64
|
+
|
74
|
65
|
CONFIGURE_ARGS+= \
|
75
|
66
|
--disable-ft12 \
|
76
|
67
|
--enable-eibnetip \
|
77
|
68
|
--enable-eibnetiptunnel \
|
78
|
69
|
--enable-eibnetipserver \
|
79
|
70
|
--enable-usb \
|
80
|
|
- --enable-tpuart \
|
81
|
71
|
--enable-tpuarts \
|
82
|
|
- --disable-pei16 \
|
83
|
72
|
--disable-pei16s \
|
84
|
73
|
--enable-groupcache \
|
85
|
74
|
--without-pth-test \
|
|
75
|
+ --disable-systemd \
|
86
|
76
|
--without-libstdc
|
87
|
77
|
|
88
|
78
|
EXTRA_LDFLAGS+= \
|
89
|
79
|
-fno-builtin -largp
|
90
|
80
|
|
91
|
|
-define Build/InstallDev
|
92
|
|
- $(INSTALL_DIR) $(1)/usr/include
|
93
|
|
- $(CP) $(PKG_INSTALL_DIR)/usr/include/eib*.h $(1)/usr/include/
|
94
|
|
-
|
95
|
|
- $(INSTALL_DIR) $(1)/usr/lib
|
96
|
|
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libeibclient.{a,so*} $(1)/usr/lib/
|
97
|
|
-endef
|
98
|
|
-
|
99
|
81
|
define Package/knxd/install
|
100
|
82
|
$(INSTALL_DIR) $(1)/usr/bin
|
101
|
83
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
84
|
+ $(RM) $(1)/usr/bin/knxtool
|
102
|
85
|
|
103
|
86
|
$(INSTALL_DIR) $(1)/etc/init.d
|
104
|
87
|
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
|
|
@@ -107,46 +90,14 @@ define Package/knxd/install
|
107
|
90
|
$(INSTALL_DATA) ./files/knxd.config $(1)/etc/config/knxd
|
108
|
91
|
endef
|
109
|
92
|
|
110
|
|
-define Package/libeibclient/install
|
|
93
|
+define Package/knxd-tools/install
|
111
|
94
|
$(INSTALL_DIR) $(1)/usr/lib
|
112
|
95
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libeibclient.so* $(1)/usr/lib/
|
113
|
|
-endef
|
114
|
|
-
|
115
|
|
-define Package/knxd-tools/install
|
116
|
96
|
$(INSTALL_DIR) $(1)/usr/bin
|
117
|
|
-
|
118
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/knxtool $(1)/usr/bin/
|
119
|
|
- ln -sf knxtool $(1)/usr/bin/knxread
|
120
|
|
- ln -sf knxtool $(1)/usr/bin/knxreadtemp
|
121
|
|
- ln -sf knxtool $(1)/usr/bin/knxwrite
|
122
|
|
- ln -sf knxtool $(1)/usr/bin/knxlog
|
123
|
|
- ln -sf knxtool $(1)/usr/bin/knxon
|
124
|
|
- ln -sf knxtool $(1)/usr/bin/knxoff
|
125
|
|
- ln -sf knxtool $(1)/usr/bin/knxif
|
126
|
|
- ln -sf knxtool $(1)/usr/bin/knxswrite
|
127
|
|
- ln -sf knxtool $(1)/usr/bin/knxbool
|
128
|
|
- ln -sf knxtool $(1)/usr/bin/knxdimup
|
129
|
|
-
|
130
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/busmonitor1 $(1)/usr/bin/
|
131
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/busmonitor2 $(1)/usr/bin/
|
132
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/busmonitor3 $(1)/usr/bin/
|
133
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/eibread-cgi $(1)/usr/bin/
|
134
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/eibwrite-cgi $(1)/usr/bin/
|
135
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/vbusmonitor1 $(1)/usr/bin/
|
136
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/vbusmonitor2 $(1)/usr/bin/
|
137
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/vbusmonitor3 $(1)/usr/bin/
|
138
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupwrite $(1)/usr/bin/
|
139
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupswrite $(1)/usr/bin/
|
140
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/grouplisten $(1)/usr/bin/
|
141
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupread $(1)/usr/bin/
|
142
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupresponse $(1)/usr/bin/
|
143
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupreadresponse $(1)/usr/bin/
|
144
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupsocketlisten $(1)/usr/bin/
|
145
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupsocketread $(1)/usr/bin/
|
146
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupsocketwrite $(1)/usr/bin/
|
147
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/knxd/examples/bin/groupsocketswrite $(1)/usr/bin/
|
|
97
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/knxtool $(1)/usr/bin/
|
|
98
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibwrite-cgi $(1)/usr/bin/
|
|
99
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/knxd/eibread-cgi $(1)/usr/bin/
|
148
|
100
|
endef
|
149
|
101
|
|
150
|
102
|
$(eval $(call BuildPackage,knxd))
|
151
|
|
-$(eval $(call BuildPackage,libeibclient))
|
152
|
103
|
$(eval $(call BuildPackage,knxd-tools))
|