2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright (c) 2023 Niklas Poslovski
16 USE_DEFAULT_TEST_TRANSFORMS
=yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= hiredis
20 COMPONENT_VERSION
= 1.2.0
21 COMPONENT_PROJECT_URL
= https
://github.com
/redis
/hiredis
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:82ad632d31ee05da13b537c124f819eb88e18851d9cb0c30ae0552084811588c
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/redis
/$(COMPONENT_NAME
)/archive
/refs
/tags/v
$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_SUMMARY
= Minimalistic C client for Redis
>= 1.2
28 COMPONENT_FMRI
= database
/hiredis
29 COMPONENT_CLASSIFICATION
=System
/Databases
30 COMPONENT_LICENSE
= BSD
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_TEST_CMD
= $(BUILD_DIR
)/$(MACH64
)/hiredis-test
36 COMPONENT_TEST_TRANSFORMS
+= '-e "s/: [0-9].[0-9][0-9][0-9]s//" '
37 COMPONENT_TEST_TRANSFORMS
+= '-e "s/: [0-9][0-9].[0-9][0-9][0-9]s//" '
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES
+= system
/library