vim: update to 9.1.0984
[oi-userland.git] / components / library / jansson / Makefile
blobbb6a5b33b81dc9cadd0c5048b8e5b7a60a5804e1
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 2017 Alexander Pyhalov
15 BUILD_BITS= 32_and_64
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= jansson
20 COMPONENT_VERSION= 2.14
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= C library for encoding, decoding and manipulating JSON data
23 COMPONENT_PROJECT_URL= https://www.digip.org/jansson
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= https://github.com/akheron/jansson/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH= sha256:5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929
28 COMPONENT_FMRI= library/jansson
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE= MIT
31 COMPONENT_LICENSE_FILE= LICENSE
33 include $(WS_MAKE_RULES)/common.mk
35 CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/jansson
36 CONFIGURE_OPTIONS += --disable-static
38 # The test/suites/api/check-exports uses nm and expects it to be the GNU kind.
39 COMPONENT_TEST_ENV += PATH=$(PATH.gnu)
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += system/library