2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Niklas Poslovski
15 USE_DEFAULT_TEST_TRANSFORMS
= yes
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= libfastjson
19 COMPONENT_VERSION
= 1.2304.0
20 COMPONENT_SUMMARY
= A performance-focused json library for C
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= v
$(COMPONENT_VERSION
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= sha256
:6c18848c75b179108429fc2818273551c68ffe6ddd5e414c20c071c844befbc1
24 COMPONENT_PROJECT_URL
= https
://github.com
/rsyslog
/libfastjson
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
26 COMPONENT_FMRI
= library
/libfastjson
27 COMPONENT_CLASSIFICATION
= System
/Libraries
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= COPYING
31 include $(WS_MAKE_RULES
)/common.mk
33 CONFIGURE_OPTIONS
+= --disable-static
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && .
/autogen.sh
)
37 COMPONENT_PRE_CONFIGURE_ACTION
= ( cp
-r
$(SOURCE_DIR
)/* $(@D
) )
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= system
/library