mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
21
package/tzdump/tzdump.mk
Normal file
21
package/tzdump/tzdump.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# tzdump
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TZDUMP_VERSION = e1a52ce12a701b8ea4163d6719713e38c0e53d35
|
||||
TZDUMP_SITE = $(call github,alexandrebelloni,tzdump,$(TZDUMP_VERSION))
|
||||
HOST_TZDUMP_DEPENDENCIES = host-zic
|
||||
|
||||
define HOST_TZDUMP_BUILD_CMDS
|
||||
cd $(@D) && $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o tzdump tzdump.c
|
||||
endef
|
||||
|
||||
define HOST_TZDUMP_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/tzdump $(HOST_DIR)/sbin/tzdump
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
TZDUMP = $(HOST_DIR)/sbin/tzdump
|
||||
Reference in New Issue
Block a user