summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2015-12-06 22:15:59 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2015-12-06 22:15:59 (GMT)
commitb0f15f8a4210e849b34c01d63be9e63ac2093632 (patch)
tree080d71bf271680a3dad01798c310f32bfc129166 /Makefile
parent18237df9b232da59a76d7342d1dc7bc7d607486e (diff)
downloadmxe-b0f15f8a4210e849b34c01d63be9e63ac2093632.zip
mxe-b0f15f8a4210e849b34c01d63be9e63ac2093632.tar.gz
mxe-b0f15f8a4210e849b34c01d63be9e63ac2093632.tar.bz2
add unpacker for .deb files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96459f4..9735725 100644
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,8 @@ UNPACK_ARCHIVE = \
$(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \
$(if $(filter %.7z, $(1)),7za x '$(1)', \
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
- $(error Unknown archive format: $(1)))))))))))
+ $(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \
+ $(error Unknown archive format: $(1))))))))))))
UNPACK_PKG_ARCHIVE = \
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))