package/python-simplejson: bump version to 3.8.2
[buildroot-gz.git] / package / zic / zic.mk
blob8a0c8dccd5f3d98891a36ab2c1f850a4bc581ca8
1 ################################################################################
3 # zic
5 ################################################################################
7 ZIC_VERSION = 2016f
8 ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
9 ZIC_SITE = http://www.iana.org/time-zones/repository/releases
10 ZIC_STRIP_COMPONENTS = 0
11 ZIC_LICENSE = Public domain
13 define HOST_ZIC_BUILD_CMDS
14 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic
15 endef
17 define HOST_ZIC_INSTALL_CMDS
18 $(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/usr/sbin/zic
19 $(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/usr/include/tzfile.h
20 endef
22 $(eval $(host-generic-package))
24 ZIC = $(HOST_DIR)/usr/sbin/zic