# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Jim Klimov # Copyright 2020 Alexander Pyhalov # Copyright 2024 Klaus Ziegler # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= czmq COMPONENT_VERSION= 4.2.1 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= C bindings for 0MQ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39 COMPONENT_ARCHIVE_URL= https://github.com/zeromq/czmq/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL= http://zeromq.org/ COMPONENT_FMRI= library/c++/czmq # Two licenses in tarball, LGPLv3+ is referenced in their spec-file COMPONENT_LICENSE_FILE= LICENSE COMPONENT_LICENSE= MPLv2 COMPONENT_CLASSIFICATION= System/Libraries include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = \ ( cd $(@D) && \ libtoolize --copy --force && \ aclocal -I m4 && \ autoheader && \ automake -c -f -a && \ autoconf ) COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) CXXFLAGS += -D_POSIX_PTHREAD_SEMANTICS CFLAGS += -D_POSIX_PTHREAD_SEMANTICS CONFIGURE_OPTIONS += --enable-static=no COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master COMPONENT_TEST_TRANSFORMS += \ '-n ' \ '-e "/TOTAL:/p" ' \ '-e "/SKIP:/p" ' \ '-e "/PASS:/p" ' \ '-e "/FAIL:/p" ' \ '-e "/ERROR:/p" ' \ '-e "/Running czmq selftests/,\$$p" ' # Auto-generated dependencies REQUIRED_PACKAGES += library/c++/zeromq REQUIRED_PACKAGES += library/libmicrohttpd REQUIRED_PACKAGES += library/lz4 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += web/curl