transset: update to 1.0.4
[oi-userland.git] / components / library / libyajl2 / Makefile
blobd2fdf1561529475f80af8f4cc75ef36c735b56da
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
5 # 1.0 of the CDDL.
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 2016 phorcys@126.com. All rights reserved.
16 BUILD_STYLE=cmake
17 BUILD_BITS=32_and_64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libyajl2
21 COMPONENT_VERSION= 2.1.0
22 COMPONENT_REVISION= 1
23 COMPONENT_FMRI= library/libyajl2
24 COMPONENT_CLASSIFICATION=System/Libraries
25 COMPONENT_SUMMARY= YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.
26 COMPONENT_SRC= yajl-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
30 COMPONENT_ARCHIVE_URL= \
31 https://github.com/lloyd/yajl/archive/$(COMPONENT_VERSION).tar.gz
32 COMPONENT_PROJECT_URL= https://lloyd.github.io/yajl/
33 COMPONENT_LICENSE= ISC
35 TEST_TARGET=$(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 CMAKE_OPTIONS += -DSTATIC_BUILD=NO
39 CMAKE_OPTIONS += -DLIB_SUFFIX=/$(ARCHLIBSUBDIR)
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += system/library