|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
9
|
9
|
|
10
|
10
|
PKG_NAME:=linknx
|
11
|
11
|
PKG_VERSION:=0.0.1.32
|
12
|
|
-PKG_RELEASE:=1
|
|
12
|
+PKG_RELEASE:=2
|
13
|
13
|
PKG_MD5SUM:=7ecc1208f59bceb05068c752b2250b63
|
14
|
14
|
|
15
|
15
|
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
|
|
@@ -50,13 +50,14 @@ define Build/Compile
|
50
|
50
|
endef
|
51
|
51
|
|
52
|
52
|
define Package/linknx/install
|
53
|
|
- mkdir -p $(1)/usr/bin
|
54
|
|
- $(CP) $(PKG_BUILD_DIR)/src/linknx $(1)/usr/bin/
|
55
|
|
- mkdir -p $(1)/etc/init.d
|
56
|
|
- $(CP) ./files/linknx.init $(1)/etc/init.d/linknx
|
57
|
|
- mkdir -p $(1)/etc/config
|
58
|
|
- $(CP) ./files/linknx.config $(1)/etc/config/linknx
|
59
|
|
- $(CP) ./files/linknx.xml.dist $(1)/etc/linknx.xml.dist
|
|
53
|
+ $(INSTALL_DIR) $(1)/usr/bin
|
|
54
|
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/linknx $(1)/usr/bin/
|
|
55
|
+ $(INSTALL_DIR) $(1)/etc/init.d
|
|
56
|
+ $(INSTALL_DATA) ./files/linknx.init $(1)/etc/init.d/linknx
|
|
57
|
+ $(INSTALL_DIR) $(1)/etc/config
|
|
58
|
+ $(INSTALL_DATA) ./files/linknx.config $(1)/etc/config/linknx
|
|
59
|
+ $(INSTALL_DATA) ./files/linknx.xml.dist $(1)/etc/linknx.xml.dist
|
|
60
|
+ $(INSTALL_DIR) $(1)/var/lib/linknx/persist
|
60
|
61
|
endef
|
61
|
62
|
|
62
|
63
|
$(eval $(call BuildPackage,linknx))
|