# # 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 (c) 2023 Niklas Poslovski # Copyright 2025 Andreas Wacknitz # BUILD_STYLE= cmake USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= hiredis COMPONENT_VERSION= 1.3.0 COMPONENT_SUMMARY= Minimalistic C client for Redis >= 1.2 COMPONENT_PROJECT_URL= https://github.com/redis/hiredis COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:25cee4500f359cf5cad3b51ed62059aadfc0939b05150c1f19c7e2829123631c COMPONENT_ARCHIVE_URL= https://github.com/redis/$(COMPONENT_NAME)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz COMPONENT_FMRI= database/hiredis COMPONENT_CLASSIFICATION= System/Databases COMPONENT_LICENSE= BSD COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk COMPONENT_PRE_CONFIGURE_ACTION += ( $(CLONEY) $(SOURCE_DIR) $(@D) ); COMPONENT_TEST_CMD = $(BUILD_DIR)/$(MACH64)/test.sh COMPONENT_TEST_TRANSFORMS += '-e "s/: [0-9].[0-9][0-9][0-9]s//" ' COMPONENT_TEST_TRANSFORMS += '-e "s/: [0-9][0-9].[0-9][0-9][0-9]s//" ' # Manually added dependencies TEST_REQUIRED_PACKAGES += database/redis # Auto-generated dependencies REQUIRED_PACKAGES += system/library