diff options
author | Thomas Danckaert <thomas.danckaert@gmail.com> | 2016-03-03 15:26:22 (GMT) |
---|---|---|
committer | Thomas Danckaert <thomas.danckaert@gmail.com> | 2016-05-30 11:45:27 (GMT) |
commit | 31ecd36182a69667641b659156474544641fdbf4 (patch) | |
tree | 27de88718bd8a47fd45c4c00b8a65ff51b38d200 | |
parent | a29a826b02c15995a47463e551909c352a3065db (diff) | |
download | mxe-31ecd36182a69667641b659156474544641fdbf4.zip mxe-31ecd36182a69667641b659156474544641fdbf4.tar.gz mxe-31ecd36182a69667641b659156474544641fdbf4.tar.bz2 |
Treat files ending in .tar.Z as gzipped tar files.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -176,6 +176,7 @@ SHORT_PKG_VERSION = \ UNPACK_ARCHIVE = \ $(if $(filter %.tgz, $(1)),tar xzf '$(1)', \ $(if $(filter %.tar.gz, $(1)),tar xzf '$(1)', \ + $(if $(filter %.tar.Z, $(1)),tar xzf '$(1)', \ $(if $(filter %.tbz2, $(1)),tar xjf '$(1)', \ $(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \ $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \ @@ -184,7 +185,7 @@ UNPACK_ARCHIVE = \ $(if $(filter %.7z, $(1)),7za x '$(1)', \ $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ $(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \ - $(error Unknown archive format: $(1)))))))))))) + $(error Unknown archive format: $(1))))))))))))) UNPACK_PKG_ARCHIVE = \ $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE)) |