You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zic
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ZIC_VERSION = 2022a
|
|
|
|
ZIC_DIR = tzcode$(ZIC_VERSION)
|
|
|
|
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
|
|
|
|
ZIC_SITE = https://data.iana.org/time-zones/releases
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# fix non-existing subdir in tzcode tarball
|
|
|
|
HOST_ZIC_EXTRACT_DIR = $($(PKG)_DIR)
|
|
|
|
|
|
|
|
HOST_ZIC = $(HOST_DIR)/sbin/zic
|
|
|
|
|
|
|
|
define HOST_ZIC_BUILD_CMDS
|
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
|
$(MAKE) zic
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_ZIC_INSTALL_CMDS
|
|
|
|
$(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/zic $(HOST_ZIC)
|
|
|
|
endef
|
|
|
|
|
|
|
|
host-zic: | $(HOST_DIR)
|
|
|
|
$(call host-generic-package)
|