net/mosquitto: add PROVIDES to daemon and library
Adding PROVIDES to both the daemon and library and -nossl variants allow downstream packages to simply declare a single dependency. mosquitto-client however, still needs to explicitly depend on the ssl or nossl variant however. Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
parent
b4f0cdedcf
commit
a52eee16d8
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mosquitto
|
PKG_NAME:=mosquitto
|
||||||
PKG_VERSION:=1.4.10
|
PKG_VERSION:=1.4.10
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE.txt
|
PKG_LICENSE_FILES:=LICENSE.txt
|
||||||
|
|
||||||
|
@ -36,12 +36,14 @@ define Package/$(PKG_NAME)
|
||||||
TITLE+= (with SSL support)
|
TITLE+= (with SSL support)
|
||||||
DEPENDS+= +libopenssl +MOSQUITTO_LWS:libwebsockets-openssl
|
DEPENDS+= +libopenssl +MOSQUITTO_LWS:libwebsockets-openssl
|
||||||
VARIANT:=ssl
|
VARIANT:=ssl
|
||||||
|
PROVIDES:=mosquitto
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)-nossl
|
define Package/$(PKG_NAME)-nossl
|
||||||
$(call Package/$(PKG_NAME)/default)
|
$(call Package/$(PKG_NAME)/default)
|
||||||
TITLE+= (without SSL support)
|
TITLE+= (without SSL support)
|
||||||
VARIANT:=nossl
|
VARIANT:=nossl
|
||||||
|
PROVIDES:=mosquitto
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/config
|
define Package/$(PKG_NAME)/config
|
||||||
|
@ -105,6 +107,7 @@ define Package/libmosquitto/default
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+libpthread +librt +libcares
|
DEPENDS:=+libpthread +librt +libcares
|
||||||
TITLE:= mosquitto - client library
|
TITLE:= mosquitto - client library
|
||||||
|
PROVIDES:=libmosquitto
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libmosquitto
|
define Package/libmosquitto
|
||||||
|
|
Loading…
Reference in a new issue