1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a
10 PKG_DESCR
:= mqtt broker
11 PKG_SECTION
:= net
/misc
12 PKG_DEPENDS
:= c-ares libressl
13 PKG_BUILDDEP
:= cmake-host c-ares libressl
15 PKG_URL
:= http
://mosquitto.org
16 PKG_SITES
:= http
://mosquitto.org
/files
/source
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,MOSQUITTO
,mosquitto
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
25 CMAKE_FLAGS
+= -DINC_MEMTRACK
=OFF
-DWITH_TLS_PSK
=OFF
28 $(INSTALL_DIR
) $(IDIR_MOSQUITTO
)/usr
/bin
29 $(INSTALL_DIR
) $(IDIR_MOSQUITTO
)/usr
/sbin
30 $(INSTALL_DIR
) $(IDIR_MOSQUITTO
)/usr
/lib
31 $(INSTALL_DIR
) $(IDIR_MOSQUITTO
)/etc
/mosquitto
32 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/mosquitto
* \
33 $(IDIR_MOSQUITTO
)/usr
/bin
34 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/mosquitto
* \
35 $(IDIR_MOSQUITTO
)/usr
/sbin
36 $(INSTALL_DATA
) $(WRKINST
)/usr
/etc
/mosquitto
/* \
37 $(IDIR_MOSQUITTO
)/etc
/mosquitto
38 $(CP
) $(WRKINST
)/usr
/lib
/*.so
* \
39 $(IDIR_MOSQUITTO
)/usr
/lib
43 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk