2014-04-07 21:58:06 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tzdump
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
TZDUMP_VERSION = 65a10105564801094b18c3fcacf4dde4c44e4ab8
|
|
|
|
TZDUMP_SITE = $(call github,alexandrebelloni,tzdump,$(TZDUMP_VERSION))
|
|
|
|
HOST_TZDUMP_DEPENDENCIES = host-zic
|
|
|
|
|
|
|
|
define HOST_TZDUMP_BUILD_CMDS
|
|
|
|
cd $(@D) && $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o tzdump tzdump.c
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_TZDUMP_INSTALL_CMDS
|
2017-07-05 13:14:20 +02:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/tzdump $(HOST_DIR)/sbin/tzdump
|
2014-04-07 21:58:06 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|
|
|
|
|
2017-07-05 13:14:20 +02:00
|
|
|
TZDUMP = $(HOST_DIR)/sbin/tzdump
|