-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathMakefile
executable file
·34 lines (27 loc) · 937 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SPK_NAME = mosquitto
SPK_VERS = 1.6.9
SPK_REV = 10
SPK_ICON = src/mosquitto.png
DEPENDS = cross/busybox cross/$(SPK_NAME)
MAINTAINER = SynoCommunity
DESCRIPTION = Mosquitto is an open source message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1.
RELOAD_UI = yes
DISPLAY_NAME = Mosquitto
STARTABLE = yes
CHANGELOG = "1. Update to 1.6.9. 2. Use DSM 5+6 generic service"
HOMEPAGE = http://www.mosquitto.org/
LICENSE = EPL/EDL licensed
SERVICE_USER = auto
# SERVICE_COMMAND is provided there
SERVICE_SETUP = src/service-setup.sh
SERVICE_PORT = 1883
SERVICE_PORT_TITLE = $(DISPLAY_NAME)
NO_SERVICE_SHORTCUT = yes
POST_STRIP_TARGET = mosquitto_extra_install
BUSYBOX_CONFIG = usrmng
ENV += BUSYBOX_CONFIG="$(BUSYBOX_CONFIG)"
include ../../mk/spksrc.spk.mk
.PHONY: mosquitto_extra_install
mosquitto_extra_install:
install -d $(STAGING_DIR)/var
install -m 644 src/mosquitto.conf $(STAGING_DIR)/var/mosquitto.conf