#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms 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 2016-2017 Aurelien Larcher
#

include ../../../make-rules/shared-macros.mk

COMPONENT_NAME=           ck
COMPONENT_VERSION=        0.6.0
COMPONENT_REVISION=       1
COMPONENT_SUMMARY=        ck - Concurrency Kit
COMPONENT_DESCRIPTION=    Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems.
COMPONENT_PROJECT_URL=    https://concurrencykit.org
COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH=   sha256:d7e27dd0a679e45632951e672f8288228f32310dfed2d5855e9573a9cf0d62df
COMPONENT_FMRI=           library/ck
COMPONENT_CLASSIFICATION= System/Libraries  
COMPONENT_LICENSE=        BSD

include $(WS_MAKE_RULES)/common.mk

CONFIGURE_OPTIONS+= --includedir=$(USRINCDIR)/$(COMPONENT_NAME)
CONFIGURE_OPTIONS+= --environment=$(BITS)

COMPONENT_TEST_TARGETS= regressions

REQUIRED_PACKAGES += system/library
# Auto-generated dependencies
REQUIRED_PACKAGES += system/library