d4c0fde91d
- Update site to get latest version
- Remove all patches (already in version)
- License file has been renamed and slightly updated to change paths
since version 0.23.0 and
37136940e3
- Remove BUILD_{JAVA,JAVASCRIPT,PERL,PHP} as those bindings don't exist
anymore
- Disable go binding
- Disable fuzz testing
- Add new optional libuv and jsoncpp dependencies
- Update QPID_PROTON_REMOVE_USELESS_FILES
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# qpid-proton
|
|
#
|
|
################################################################################
|
|
|
|
QPID_PROTON_VERSION = 0.33.0
|
|
QPID_PROTON_SITE = \
|
|
https://downloads.apache.org/qpid/proton/$(QPID_PROTON_VERSION)
|
|
QPID_PROTON_LICENSE = Apache-2.0
|
|
QPID_PROTON_LICENSE_FILES = LICENSE.txt
|
|
QPID_PROTON_CPE_ID_VENDOR = apache
|
|
QPID_PROTON_CPE_ID_PRODUCT = qpid_proton
|
|
QPID_PROTON_INSTALL_STAGING = YES
|
|
QPID_PROTON_DEPENDENCIES = \
|
|
host-python \
|
|
util-linux \
|
|
$(if $(BR2_PACKAGE_LIBUV),libuv) \
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl)
|
|
|
|
# python and ruby language bindings are enabled when host-swig tool is present
|
|
# in HOST_DIR.
|
|
# go language binding is enabled when host-go is present
|
|
# For now, disable all of them.
|
|
QPID_PROTON_CONF_OPTS = \
|
|
-DBUILD_GO=OFF \
|
|
-DBUILD_PYTHON=OFF \
|
|
-DBUILD_RUBY=OFF \
|
|
-DENABLE_FUZZ_TESTING=OFF \
|
|
-DENABLE_VALGRIND=OFF \
|
|
-DENABLE_WARNING_ERROR=OFF \
|
|
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python2
|
|
|
|
ifeq ($(BR2_PACKAGE_JSONCPP),y)
|
|
QPID_PROTON_DEPENDENCIES += jsoncpp
|
|
QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=ON
|
|
else
|
|
QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=OFF
|
|
endif
|
|
|
|
define QPID_PROTON_REMOVE_USELESS_FILES
|
|
rm -fr $(TARGET_DIR)/usr/share/proton/
|
|
endef
|
|
|
|
QPID_PROTON_POST_INSTALL_TARGET_HOOKS += QPID_PROTON_REMOVE_USELESS_FILES
|
|
|
|
$(eval $(cmake-package))
|