tzdata: use <PKG>_STRIP_COMPONENTS
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
6c0188d7a5
commit
8fe6ee1631
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user