blob: 8abcec936053f3543ce7c717764d1179b6dab7f4 [file] [log] [blame]
################################################################################
#
# zic
#
################################################################################
ZIC_VERSION = 2024a
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
ZIC_SITE = https://www.iana.org/time-zones/repository/releases
ZIC_STRIP_COMPONENTS = 0
ZIC_LICENSE = Public domain
ZIC_LICENSE_FILES = LICENSE
define HOST_ZIC_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) zic
endef
define HOST_ZIC_INSTALL_CMDS
$(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/sbin/zic
$(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h
endef
$(eval $(host-generic-package))
ZIC = $(HOST_DIR)/sbin/zic