24e50620c9
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/include' | xargs sed -i 's%$(HOST_DIR)/usr/include%$(HOST_DIR)/include%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
638 B
Makefile
25 lines
638 B
Makefile
################################################################################
|
|
#
|
|
# zic
|
|
#
|
|
################################################################################
|
|
|
|
ZIC_VERSION = 2017b
|
|
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
|
|
ZIC_SITE = http://www.iana.org/time-zones/repository/releases
|
|
ZIC_STRIP_COMPONENTS = 0
|
|
ZIC_LICENSE = Public domain
|
|
|
|
define HOST_ZIC_BUILD_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -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
|