Blame view

buildroot/buildroot-2016.08.1/package/zic/zic.mk 650 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  ################################################################################
  #
  # zic
  #
  ################################################################################
  
  ZIC_VERSION = 2016f
  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)/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