2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-07 12:53:40 +01:00
|
|
|
#
|
|
|
|
# zic
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-07 12:53:40 +01:00
|
|
|
|
2018-05-17 11:38:09 +02:00
|
|
|
ZIC_VERSION = 2018e
|
2013-03-07 12:53:40 +01:00
|
|
|
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
|
2015-10-12 13:38:09 +02:00
|
|
|
ZIC_SITE = http://www.iana.org/time-zones/repository/releases
|
2015-07-11 16:15:09 +02:00
|
|
|
ZIC_STRIP_COMPONENTS = 0
|
2013-03-07 12:53:40 +01:00
|
|
|
ZIC_LICENSE = Public domain
|
|
|
|
|
|
|
|
define HOST_ZIC_BUILD_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_ZIC_INSTALL_CMDS
|
2017-07-05 13:14:20 +02:00
|
|
|
$(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/sbin/zic
|
2017-07-05 13:14:22 +02:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h
|
2013-03-07 12:53:40 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|
|
|
|
|
2017-07-05 13:14:20 +02:00
|
|
|
ZIC = $(HOST_DIR)/sbin/zic
|