python3: update to 3.11.10
[openadk.git] / package / mosquitto / Makefile
blob2cafc703f0155312538ddbdd2a3385c38b71d26a
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
6 PKG_NAME:= mosquitto
7 PKG_VERSION:= 2.0.18
8 PKG_RELEASE:= 1
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
14 PKG_NEEDS:= threads
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)))
24 CONFIG_STYLE:= cmake
25 CMAKE_FLAGS+= -DINC_MEMTRACK=OFF -DWITH_TLS_PSK=OFF
27 mosquitto-install:
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