10a2b798a4
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
630 B
Makefile
25 lines
630 B
Makefile
################################################################################
|
|
#
|
|
# zic
|
|
#
|
|
################################################################################
|
|
|
|
ZIC_VERSION = 2015e
|
|
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
|
|
ZIC_SITE = ftp://ftp.iana.org/tz/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)/usr/sbin/zic
|
|
$(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/usr/include/tzfile.h
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|
|
|
|
ZIC = $(HOST_DIR)/usr/sbin/zic
|