summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Danckaert <thomas.danckaert@gmail.com>2016-03-03 15:26:22 (GMT)
committerThomas Danckaert <thomas.danckaert@gmail.com>2016-05-30 11:45:27 (GMT)
commit31ecd36182a69667641b659156474544641fdbf4 (patch)
tree27de88718bd8a47fd45c4c00b8a65ff51b38d200 /Makefile
parenta29a826b02c15995a47463e551909c352a3065db (diff)
downloadmxe-31ecd36182a69667641b659156474544641fdbf4.zip
mxe-31ecd36182a69667641b659156474544641fdbf4.tar.gz
mxe-31ecd36182a69667641b659156474544641fdbf4.tar.bz2
Treat files ending in .tar.Z as gzipped tar files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ba124cc..8a4fabc 100644
--- a/Makefile
+++ b/Makefile
@@ -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))