![Gilles Talis](/assets/img/avatar_default.png)
CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone. Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
660 B
Makefile
28 lines
660 B
Makefile
################################################################################
|
|
#
|
|
# cctz
|
|
#
|
|
################################################################################
|
|
|
|
CCTZ_VERSION = 2.3
|
|
CCTZ_SITE = $(call github,google,cctz,v$(CCTZ_VERSION))
|
|
CCTZ_LICENSE = Apache-2.0
|
|
CCTZ_LICENSE_FILES = LICENSE.txt
|
|
CCTZ_INSTALL_STAGING = YES
|
|
|
|
CCTZ_CONF_OPTS = -DBUILD_TESTING=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_CCTZ_INSTALL_TOOLS),y)
|
|
CCTZ_CONF_OPTS += -DBUILD_TOOLS=ON
|
|
else
|
|
CCTZ_CONF_OPTS += -DBUILD_TOOLS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_CCTZ_INSTALL_EXAMPLES),y)
|
|
CCTZ_CONF_OPTS += -DBUILD_EXAMPLES=ON
|
|
else
|
|
CCTZ_CONF_OPTS += -DBUILD_EXAMPLES=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|