From: Luca Ceresoli Date: Sat, 11 Jul 2015 14:15:09 +0000 (+0200) Subject: zic: use _STRIP_COMPONENTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10a2b798a45ca13099091760a78408172e1164b2;p=buildroot.git zic: 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/zic/zic.mk b/package/zic/zic.mk index a768ac6cfd..03e023ae4f 100644 --- a/package/zic/zic.mk +++ b/package/zic/zic.mk @@ -7,14 +7,9 @@ ZIC_VERSION = 2015e ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz ZIC_SITE = ftp://ftp.iana.org/tz/releases +ZIC_STRIP_COMPONENTS = 0 ZIC_LICENSE = Public domain -# Don't strip any path components during extraction. -define HOST_ZIC_EXTRACT_CMDS - gzip -d -c $(DL_DIR)/$(ZIC_SOURCE) \ - | $(TAR) --strip-components=0 -C $(@D) -xf - -endef - define HOST_ZIC_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic endef