kumquat-buildroot/package/cctz/cctz.mk
Gilles Talis 1be68a1df6 package/cctz: new package
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>
2019-12-24 14:06:48 +01:00

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))