glib-networking: bump to version 2.48.1
[buildroot-gz.git] / package / zic / zic.mk
blobd9cdb4dcbbc3f72f674c92549caf7c92a6dee7e0
1 ################################################################################
3 # zic
5 ################################################################################
7 ZIC_VERSION = 2016d
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