kumquat-buildroot/package/tzdump/tzdump.mk
Arnout Vandecappelle 1eb57df2b2 Globally replace $(HOST_DIR)/usr/sbin with $(HOST_DIR)/sbin
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.

This is a mechanical change with
git grep -l '$(HOST_DIR)/usr/sbin' | xargs sed -i 's%$(HOST_DIR)/usr/sbin%$(HOST_DIR)/sbin%g'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 15:19:44 +02:00

22 lines
617 B
Makefile

################################################################################
#
# 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
$(INSTALL) -m 0755 -D $(@D)/tzdump $(HOST_DIR)/sbin/tzdump
endef
$(eval $(host-generic-package))
TZDUMP = $(HOST_DIR)/sbin/tzdump