kumquat-buildroot/package/zic/zic.mk
Martin Bark 46dcbcfd39 package/zic: bump version to 2016a
Removed 0001-fix-dependencies.patch as this has now been fixed upstream

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-31 14:12:23 +01:00

25 lines
650 B
Makefile

################################################################################
#
# zic
#
################################################################################
ZIC_VERSION = 2016a
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