From: Luca Ceresoli Date: Sat, 11 Jul 2015 14:15:08 +0000 (+0200) Subject: tzdata: use _STRIP_COMPONENTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fe6ee1631cc3713247d29d5f45dfe280e176b16;p=buildroot.git tzdata: use _STRIP_COMPONENTS Signed-off-by: Luca Ceresoli Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk index eb6da6ce33..c38d4fe8cd 100644 --- a/package/tzdata/tzdata.mk +++ b/package/tzdata/tzdata.mk @@ -7,6 +7,7 @@ TZDATA_VERSION = 2015e TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz TZDATA_SITE = ftp://ftp.iana.org/tz/releases +TZDATA_STRIP_COMPONENTS = 0 TZDATA_DEPENDENCIES = host-tzdata HOST_TZDATA_DEPENDENCIES = host-zic TZDATA_LICENSE = Public domain @@ -45,11 +46,6 @@ define TZDATA_INSTALL_TARGET_CMDS fi endef -define HOST_TZDATA_EXTRACT_CMDS - gzip -d -c $(DL_DIR)/$(TZDATA_SOURCE) \ - | $(TAR) --strip-components=0 -C $(@D) -xf - -endef - define HOST_TZDATA_BUILD_CMDS (cd $(@D); \ for zone in $(TZDATA_ZONELIST); do \