mwan3: use common makefile install wrappers
With this change you can see at a glance which files will be installed on the system. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
94a25dbd92
commit
6834f8e3a6
6 changed files with 36 additions and 1 deletions
|
@ -67,8 +67,43 @@ define Build/Compile
|
|||
endef
|
||||
|
||||
define Package/mwan3/install
|
||||
$(CP) ./files/* $(1)
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/mwan3 \
|
||||
$(1)/etc/config/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
|
||||
$(INSTALL_DATA) ./files/etc/hotplug.d/iface/15-mwan3 \
|
||||
$(1)/etc/hotplug.d/iface/
|
||||
$(INSTALL_DATA) ./files/etc/hotplug.d/iface/16-mwan3-user \
|
||||
$(1)/etc/hotplug.d/iface/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/etc/init.d/mwan3 \
|
||||
$(1)/etc/init.d/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/mwan3
|
||||
$(INSTALL_DATA) ./files/lib/mwan3/common.sh \
|
||||
$(1)/lib/mwan3/
|
||||
$(INSTALL_DATA) ./files/lib/mwan3/mwan3.sh \
|
||||
$(1)/lib/mwan3/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
||||
$(INSTALL_BIN) ./files/usr/libexec/rpcd/mwan3 \
|
||||
$(1)/usr/libexec/rpcd/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) ./files/usr/sbin/mwan3 \
|
||||
$(1)/usr/sbin/
|
||||
$(INSTALL_BIN) ./files/usr/sbin/mwan3rtmon \
|
||||
$(1)/usr/sbin/
|
||||
$(INSTALL_BIN) ./files/usr/sbin/mwan3track \
|
||||
$(1)/usr/sbin/
|
||||
|
||||
$(CP) $(PKG_BUILD_DIR)/libwrap_mwan3_sockopt.so.1.0 $(1)/lib/mwan3/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||||
$(INSTALL_DATA) ./files/etc/uci-defaults/mwan3-migrate-flush_conntrack \
|
||||
$(1)/etc/uci-defaults/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mwan3))
|
||||
|
|
0
net/mwan3/files/etc/init.d/mwan3
Executable file → Normal file
0
net/mwan3/files/etc/init.d/mwan3
Executable file → Normal file
0
net/mwan3/files/usr/libexec/rpcd/mwan3
Executable file → Normal file
0
net/mwan3/files/usr/libexec/rpcd/mwan3
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3rtmon
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3rtmon
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3track
Executable file → Normal file
0
net/mwan3/files/usr/sbin/mwan3track
Executable file → Normal file
Loading…
Reference in a new issue