Browse Source

mosquitto: use mirrored files/ tree

Instead of manually copying files and renaming on install, use the nice
clean "files/<mirror>" structure and just $(CP) them into place.

Signed-off-by: Karl Palsson <karlp@etactica.com>
lilik-openwrt-22.03
Karl Palsson 9 years ago
parent
commit
39ea72b186
3 changed files with 1 additions and 4 deletions
  1. +1
    -4
      net/mosquitto/Makefile
  2. +0
    -0
      net/mosquitto/files/etc/init.d/mosquitto
  3. +0
    -0
      net/mosquitto/files/usr/bin/mosquitto.uci.convert

+ 1
- 4
net/mosquitto/Makefile View File

@ -160,10 +160,7 @@ define Package/mosquitto/install/default
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mosquitto $(1)/usr/sbin/mosquitto
$(INSTALL_DIR) $(1)/etc/mosquitto
$(INSTALL_CONF) $(PKG_BUILD_DIR)/mosquitto.conf $(1)/etc/mosquitto/mosquitto.conf
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/mosquitto.init $(1)/etc/init.d/mosquitto
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/mosquitto.uci.convert $(1)/usr/bin
$(CP) ./files/* $(1)/
endef
define Package/mosquitto-nossl/install


net/mosquitto/files/mosquitto.init → net/mosquitto/files/etc/init.d/mosquitto View File


net/mosquitto/files/mosquitto.uci.convert → net/mosquitto/files/usr/bin/mosquitto.uci.convert View File


Loading…
Cancel
Save